• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16const __ArcSwiper__ = requireInternal("arkui.ArcSwiper");
17
18class ArcSwiper extends JSViewAbstract {
19    static create(value) {
20        __ArcSwiper__.create(value);
21    }
22
23    static index(value) {
24        __ArcSwiper__.index(value);
25    }
26
27    static indicator(value) {
28        __ArcSwiper__.indicator(value);
29    }
30
31    static duration(value) {
32        __ArcSwiper__.duration(value);
33    }
34
35    static vertical(value) {
36        __ArcSwiper__.vertical(value);
37    }
38
39    static disableSwipe(value) {
40        __ArcSwiper__.disableSwipe(value);
41    }
42
43    static onChange(value) {
44        __ArcSwiper__.onChange(value);
45    }
46
47    static onAnimationStart(value) {
48        __ArcSwiper__.onAnimationStart(value);
49    }
50
51    static onAnimationEnd(value) {
52        __ArcSwiper__.onAnimationEnd(value);
53    }
54
55    static onGestureSwipe(value) {
56        __ArcSwiper__.onGestureSwipe(value);
57    }
58
59    static digitalCrownSensitivity(value) {
60        __ArcSwiper__.digitalCrownSensitivity(value);
61    }
62
63    static effectMode(value) {
64        __ArcSwiper__.effectMode(value);
65    }
66
67    static customContentTransition(value) {
68        __ArcSwiper__.customContentTransition(value);
69    }
70
71    static disableTransitionAnimation(value) {
72        __ArcSwiper__.disableTransitionAnimation(value);
73    }
74
75    static onClick(value) {
76        __Common__.onClick(value);
77    }
78
79    static onAppear(value) {
80        __Common__.onAppear(value);
81    }
82
83    static onDisAppear(value) {
84        __Common__.onDisAppear(value);
85    }
86
87    static onTouch(value) {
88        __Common__.onTouch(value);
89    }
90
91    static onHover(value) {
92        __Common__.onHover(value);
93    }
94
95    static onKeyEvent(value) {
96        __Common__.onKeyEvent(value);
97    }
98
99    static onDeleteEvent(value) {
100        __Common__.onDeleteEvent(value);
101    }
102
103    static remoteMessage(value) {
104        __Common__.remoteMessage(value);
105    }
106}
107
108export default {
109    ArcSwiper,
110    ArcSwiperController: __ArcSwiper__.ArcSwiperController,
111    ArcDotIndicator: __ArcSwiper__.ArcDotIndicator,
112    ArcDirection: __ArcSwiper__.ArcDirection,
113};
114