-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathskeleton-carousel.d.ts
179 lines (145 loc) · 3.11 KB
/
skeleton-carousel.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* skeleton-carousel.js
*/
/// <reference path="icons/carousel.d.ts" />
/**
* `skeleton-carousel`
*/
declare class SkeletonCarousel extends Polymer.Element {
/**
* Key bindings
*/
readonly keyBindings: object|null;
/**
* Indicates if the carousel is been animated (Transition)
*/
readonly animating: boolean|null|undefined;
/**
* Change slides automatically
*/
auto: boolean|null|undefined;
/**
* Carousel direction (horizontal or vertical)
*/
direction: string|null|undefined;
/**
* Disables component
*/
disabled: boolean|null|undefined;
/**
* Show navigation dots
*/
dots: boolean|null|undefined;
/**
* Disable swipe functionality
*/
disableSwipe: boolean|null|undefined;
/**
* Disable keyboard navigation
*/
disableKeys: boolean|null|undefined;
/**
* Auto play interval time in milliseconds
*/
duration: number|null|undefined;
/**
* Determines if the carousel should be looped.
* This affects the controls and the drag and drop functionality.
* Set to `true` if you need to loop the slides.
*/
loop: boolean|null|undefined;
/**
* Show navigation next/prev buttons
*/
nav: boolean|null|undefined;
/**
* Selected slide index
*/
selected: number|null|undefined;
/**
* Selected item
*/
readonly selectedItem: object|null|undefined;
/**
* The user is swiping
*/
readonly swiping: boolean|null|undefined;
/**
* tabindex
*/
tabindex: number|null|undefined;
/**
* Total number of slides
*/
readonly total: number|null|undefined;
/**
* Returns true when the carousel has reached the last slide.
*/
readonly end: boolean|null|undefined;
/**
* Determines if the next button should be displayed.
*/
readonly showNext: boolean|null|undefined;
/**
* Determines if the previous button should be displayed.
*/
readonly showPrev: boolean|null|undefined;
/**
* Auto interval
*/
_autoInterval: object|null|undefined;
/**
* Children elements
*/
_children: any[]|null|undefined;
/**
* Show navigation controls
*/
readonly _controls: boolean|null|undefined;
/**
* Returns an array with the slides.
* This will be used to create the dot controls.
*/
readonly _dots: any[]|null|undefined;
/**
* Icon for the previous button
*/
readonly _iconPrev: string|null|undefined;
/**
* Icon for the next button
*/
readonly _iconNext: string|null|undefined;
/**
* Icon for the next button
*/
readonly _containerHeight: string|null|undefined;
/**
* X Axis position (0 - 1)
*/
_x: number|null|undefined;
/**
* Y Axis position (0 - 1)
*/
_y: number|null|undefined;
/**
* Ready event
*/
connectedCallback(): void;
/**
* Go to next slide
*/
next(): void;
/**
* Go to previous slide
*/
prev(): void;
}
interface HTMLElementTagNameMap {
"skeleton-carousel": SkeletonCarousel;
}