@syncfusion/ej2-navigations 31.1.17 → 31.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-navigations.min.js +1 -1
- package/dist/ej2-navigations.umd.min.js +1 -1
- package/dist/global/ej2-navigations.min.js +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -64
- package/styles/bds-lite.css +2 -1
- package/styles/bds.css +2 -1
- package/styles/bootstrap-dark-lite.css +2 -1
- package/styles/bootstrap-dark.css +2 -1
- package/styles/bootstrap-lite.css +2 -1
- package/styles/bootstrap.css +2 -1
- package/styles/bootstrap4-lite.css +2 -1
- package/styles/bootstrap4.css +2 -1
- package/styles/bootstrap5-dark-lite.css +2 -1
- package/styles/bootstrap5-dark.css +2 -1
- package/styles/bootstrap5-lite.css +2 -1
- package/styles/bootstrap5.3-lite.css +2 -1
- package/styles/bootstrap5.3.css +2 -1
- package/styles/bootstrap5.css +2 -1
- package/styles/fabric-dark-lite.css +2 -1
- package/styles/fabric-dark.css +2 -1
- package/styles/fabric-lite.css +2 -1
- package/styles/fabric.css +2 -1
- package/styles/fluent-dark-lite.css +3 -2
- package/styles/fluent-dark.css +3 -2
- package/styles/fluent-lite.css +3 -2
- package/styles/fluent.css +3 -2
- package/styles/fluent2-lite.css +3 -2
- package/styles/fluent2.css +3 -2
- package/styles/highcontrast-light-lite.css +2 -1
- package/styles/highcontrast-light.css +2 -1
- package/styles/highcontrast-lite.css +2 -1
- package/styles/highcontrast.css +2 -1
- package/styles/material-dark-lite.css +2 -1
- package/styles/material-dark.css +2 -1
- package/styles/material-lite.css +2 -1
- package/styles/material.css +2 -1
- package/styles/material3-dark-lite.css +3 -2
- package/styles/material3-dark.css +3 -2
- package/styles/material3-lite.css +3 -2
- package/styles/material3.css +3 -2
- package/styles/menu/_bootstrap-dark-definition.scss +1 -0
- package/styles/menu/_bootstrap-definition.scss +1 -0
- package/styles/menu/_fluent-definition.scss +1 -1
- package/styles/menu/_fluent2-definition.scss +1 -1
- package/styles/menu/_layout.scss +7 -1
- package/styles/menu/_material3-definition.scss +1 -1
- package/styles/menu/bds.css +1 -0
- package/styles/menu/bootstrap-dark.css +1 -0
- package/styles/menu/bootstrap.css +1 -0
- package/styles/menu/bootstrap4.css +1 -0
- package/styles/menu/bootstrap5-dark.css +1 -0
- package/styles/menu/bootstrap5.3.css +1 -0
- package/styles/menu/bootstrap5.css +1 -0
- package/styles/menu/fabric-dark.css +1 -0
- package/styles/menu/fabric.css +1 -0
- package/styles/menu/fluent-dark.css +2 -1
- package/styles/menu/fluent.css +2 -1
- package/styles/menu/fluent2.css +2 -1
- package/styles/menu/highcontrast-light.css +1 -0
- package/styles/menu/highcontrast.css +1 -0
- package/styles/menu/material-dark.css +1 -0
- package/styles/menu/material.css +1 -0
- package/styles/menu/material3-dark.css +2 -1
- package/styles/menu/material3.css +2 -1
- package/styles/menu/tailwind-dark.css +1 -0
- package/styles/menu/tailwind.css +1 -0
- package/styles/menu/tailwind3.css +1 -0
- package/styles/tailwind-dark-lite.css +2 -1
- package/styles/tailwind-dark.css +2 -1
- package/styles/tailwind-lite.css +2 -1
- package/styles/tailwind.css +2 -1
- package/styles/tailwind3-lite.css +2 -1
- package/styles/tailwind3.css +2 -1
- package/styles/treeview/_layout.scss +1 -1
- package/styles/treeview/bds.css +1 -1
- package/styles/treeview/bootstrap-dark.css +1 -1
- package/styles/treeview/bootstrap.css +1 -1
- package/styles/treeview/bootstrap4.css +1 -1
- package/styles/treeview/bootstrap5-dark.css +1 -1
- package/styles/treeview/bootstrap5.3.css +1 -1
- package/styles/treeview/bootstrap5.css +1 -1
- package/styles/treeview/fabric-dark.css +1 -1
- package/styles/treeview/fabric.css +1 -1
- package/styles/treeview/fluent-dark.css +1 -1
- package/styles/treeview/fluent.css +1 -1
- package/styles/treeview/fluent2.css +1 -1
- package/styles/treeview/highcontrast-light.css +1 -1
- package/styles/treeview/highcontrast.css +1 -1
- package/styles/treeview/material-dark.css +1 -1
- package/styles/treeview/material.css +1 -1
- package/styles/treeview/material3-dark.css +1 -1
- package/styles/treeview/material3.css +1 -1
- package/styles/treeview/tailwind-dark.css +1 -1
- package/styles/treeview/tailwind.css +1 -1
- package/styles/treeview/tailwind3.css +1 -1
- package/dist/ts/accordion/accordion-model.d.ts +0 -285
- package/dist/ts/accordion/accordion.d.ts +0 -458
- package/dist/ts/accordion/accordion.ts +0 -1580
- package/dist/ts/accordion/index.d.ts +0 -5
- package/dist/ts/accordion/index.ts +0 -5
- package/dist/ts/appbar/appbar-model.d.ts +0 -76
- package/dist/ts/appbar/appbar.d.ts +0 -115
- package/dist/ts/appbar/appbar.ts +0 -281
- package/dist/ts/appbar/index.d.ts +0 -3
- package/dist/ts/appbar/index.ts +0 -3
- package/dist/ts/breadcrumb/breadcrumb-model.d.ts +0 -170
- package/dist/ts/breadcrumb/breadcrumb.d.ts +0 -297
- package/dist/ts/breadcrumb/breadcrumb.ts +0 -959
- package/dist/ts/breadcrumb/index.d.ts +0 -5
- package/dist/ts/breadcrumb/index.ts +0 -5
- package/dist/ts/carousel/carousel-model.d.ts +0 -282
- package/dist/ts/carousel/carousel.d.ts +0 -439
- package/dist/ts/carousel/carousel.ts +0 -1633
- package/dist/ts/carousel/index.d.ts +0 -3
- package/dist/ts/carousel/index.ts +0 -3
- package/dist/ts/common/h-scroll-model.d.ts +0 -16
- package/dist/ts/common/h-scroll.d.ts +0 -105
- package/dist/ts/common/h-scroll.ts +0 -481
- package/dist/ts/common/index.d.ts +0 -9
- package/dist/ts/common/index.ts +0 -10
- package/dist/ts/common/menu-base-model.d.ts +0 -308
- package/dist/ts/common/menu-base.d.ts +0 -558
- package/dist/ts/common/menu-base.ts +0 -2736
- package/dist/ts/common/menu-scroll.d.ts +0 -29
- package/dist/ts/common/menu-scroll.ts +0 -105
- package/dist/ts/common/v-scroll-model.d.ts +0 -16
- package/dist/ts/common/v-scroll.d.ts +0 -106
- package/dist/ts/common/v-scroll.ts +0 -454
- package/dist/ts/context-menu/context-menu-model.d.ts +0 -47
- package/dist/ts/context-menu/context-menu.d.ts +0 -102
- package/dist/ts/context-menu/context-menu.ts +0 -165
- package/dist/ts/context-menu/index.d.ts +0 -5
- package/dist/ts/context-menu/index.ts +0 -5
- package/dist/ts/index.d.ts +0 -16
- package/dist/ts/index.ts +0 -16
- package/dist/ts/menu/index.d.ts +0 -5
- package/dist/ts/menu/index.ts +0 -5
- package/dist/ts/menu/menu-model.d.ts +0 -70
- package/dist/ts/menu/menu.d.ts +0 -127
- package/dist/ts/menu/menu.ts +0 -313
- package/dist/ts/sidebar/index.d.ts +0 -5
- package/dist/ts/sidebar/index.ts +0 -5
- package/dist/ts/sidebar/sidebar-model.d.ts +0 -200
- package/dist/ts/sidebar/sidebar.d.ts +0 -336
- package/dist/ts/sidebar/sidebar.ts +0 -907
- package/dist/ts/stepper/index.d.ts +0 -3
- package/dist/ts/stepper/index.ts +0 -3
- package/dist/ts/stepper/stepper-model.d.ts +0 -159
- package/dist/ts/stepper/stepper.d.ts +0 -381
- package/dist/ts/stepper/stepper.ts +0 -1350
- package/dist/ts/stepper-base/index.d.ts +0 -5
- package/dist/ts/stepper-base/index.ts +0 -6
- package/dist/ts/stepper-base/stepper-base-model.d.ts +0 -124
- package/dist/ts/stepper-base/stepper-base.d.ts +0 -187
- package/dist/ts/stepper-base/stepper-base.ts +0 -290
- package/dist/ts/tab/index.d.ts +0 -5
- package/dist/ts/tab/index.ts +0 -5
- package/dist/ts/tab/tab-model.d.ts +0 -408
- package/dist/ts/tab/tab.d.ts +0 -715
- package/dist/ts/tab/tab.ts +0 -2842
- package/dist/ts/toolbar/index.d.ts +0 -5
- package/dist/ts/toolbar/index.ts +0 -5
- package/dist/ts/toolbar/toolbar-model.d.ts +0 -294
- package/dist/ts/toolbar/toolbar.d.ts +0 -541
- package/dist/ts/toolbar/toolbar.ts +0 -2646
- package/dist/ts/treeview/index.d.ts +0 -5
- package/dist/ts/treeview/index.ts +0 -5
- package/dist/ts/treeview/treeview-model.d.ts +0 -637
- package/dist/ts/treeview/treeview.d.ts +0 -1518
- package/dist/ts/treeview/treeview.ts +0 -6780
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import { Component } from '@syncfusion/ej2-base';
|
|
2
|
-
import { EmitType, INotifyPropertyChanged } from '@syncfusion/ej2-base';
|
|
3
|
-
import { SidebarModel } from './sidebar-model';
|
|
4
|
-
/**
|
|
5
|
-
* Specifies the Sidebar types.
|
|
6
|
-
* ```props
|
|
7
|
-
* Slide :- Specifies the animation sliding while opening the sidebar.
|
|
8
|
-
* Over :- Specifies the sidebar appearing over the main content.
|
|
9
|
-
* Push :- Specifies the sidebar pushing the main content.
|
|
10
|
-
* Auto :- Specifies that the sidebar opens automatically.
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare type SidebarType = 'Slide' | 'Over' | 'Push' | 'Auto';
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the Sidebar positions.
|
|
16
|
-
* ```props
|
|
17
|
-
* Left :- Sidebar positions to the Left in relation to the main content.
|
|
18
|
-
* Right :- Sidebar positions to the Right in relation to the main content.
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare type SidebarPosition = 'Left' | 'Right';
|
|
22
|
-
/**
|
|
23
|
-
* Sidebar is an expandable or collapsible
|
|
24
|
-
* component that typically act as a side container to place the primary or secondary content alongside of the main content.
|
|
25
|
-
* ```html
|
|
26
|
-
* <aside id="sidebar">
|
|
27
|
-
* </aside>
|
|
28
|
-
* ```
|
|
29
|
-
* ```typescript
|
|
30
|
-
* <script>
|
|
31
|
-
* let sidebarObject: Sidebar = new Sidebar();
|
|
32
|
-
* sidebarObject.appendTo("#sidebar");
|
|
33
|
-
* </script>
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare class Sidebar extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
37
|
-
private modal;
|
|
38
|
-
private mainContentEle;
|
|
39
|
-
private sidebarEle;
|
|
40
|
-
private sidebarEleCopy;
|
|
41
|
-
protected tabIndex: string;
|
|
42
|
-
private windowWidth;
|
|
43
|
-
private targetEle;
|
|
44
|
-
private firstRender;
|
|
45
|
-
private documentClickContext;
|
|
46
|
-
/**
|
|
47
|
-
* Specifies the size of the Sidebar in dock state.
|
|
48
|
-
* > For more details about dockSize refer to
|
|
49
|
-
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar/) documentation.
|
|
50
|
-
*
|
|
51
|
-
* @default 'auto'
|
|
52
|
-
*/
|
|
53
|
-
dockSize: string | number;
|
|
54
|
-
/**
|
|
55
|
-
* Specifies the media query string for resolution, which when met opens the Sidebar.
|
|
56
|
-
* ```typescript
|
|
57
|
-
* let defaultSidebar: Sidebar = new Sidebar({
|
|
58
|
-
* mediaQuery:'(min-width: 600px)'
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
* > For more details about mediaQuery refer to
|
|
62
|
-
* [`Auto Close`](https://ej2.syncfusion.com/documentation/sidebar/auto-close/) documentation.
|
|
63
|
-
*
|
|
64
|
-
* @default null
|
|
65
|
-
* @aspType string
|
|
66
|
-
*/
|
|
67
|
-
mediaQuery: string | MediaQueryList;
|
|
68
|
-
/**
|
|
69
|
-
* Specifies the docking state of the component.
|
|
70
|
-
* > For more details about enableDock refer to
|
|
71
|
-
* [`Dock`](https://ej2.syncfusion.com/documentation/sidebar/docking-sidebar/) documentation.
|
|
72
|
-
*
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
enableDock: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Enables the expand or collapse while swiping in touch devices.
|
|
78
|
-
* This is not a sidebar property.
|
|
79
|
-
*
|
|
80
|
-
* @default 'en-US'
|
|
81
|
-
* @private
|
|
82
|
-
*/
|
|
83
|
-
locale: string;
|
|
84
|
-
/**
|
|
85
|
-
* Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
|
|
86
|
-
* 1. Position
|
|
87
|
-
* 2. Type
|
|
88
|
-
*
|
|
89
|
-
* @default false
|
|
90
|
-
*/
|
|
91
|
-
enablePersistence: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Enables the expand or collapse while swiping in touch devices.
|
|
94
|
-
*
|
|
95
|
-
* @default true
|
|
96
|
-
*/
|
|
97
|
-
enableGestures: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Gets or sets the Sidebar component is open or close.
|
|
100
|
-
* > When the Sidebar type is set to `Auto`,
|
|
101
|
-
* the component will be expanded in the desktop and collapsed in the mobile mode regardless of the isOpen property.
|
|
102
|
-
*
|
|
103
|
-
* @default false
|
|
104
|
-
*/
|
|
105
|
-
isOpen: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Specifies the Sidebar in RTL mode that displays the content in the right-to-left direction.
|
|
108
|
-
*
|
|
109
|
-
* @default false
|
|
110
|
-
*/
|
|
111
|
-
enableRtl: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Enable or disable the animation transitions on expanding or collapsing the Sidebar.
|
|
114
|
-
*
|
|
115
|
-
* @default true
|
|
116
|
-
*/
|
|
117
|
-
animate: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Specifies the height of the Sidebar.
|
|
120
|
-
*
|
|
121
|
-
* @default 'auto'
|
|
122
|
-
* @private
|
|
123
|
-
*/
|
|
124
|
-
height: string | number;
|
|
125
|
-
/**
|
|
126
|
-
* Specifies whether the Sidebar need to be closed or not when document area is clicked.
|
|
127
|
-
*
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
130
|
-
closeOnDocumentClick: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* Specifies the position of the Sidebar (Left/Right) corresponding to the main content.
|
|
133
|
-
* > For more details about SidebarPosition refer to
|
|
134
|
-
* [`position`](https://ej2.syncfusion.com/documentation/sidebar/getting-started/#position) documentation.
|
|
135
|
-
*
|
|
136
|
-
* @default 'Left'
|
|
137
|
-
*/
|
|
138
|
-
position: SidebarPosition;
|
|
139
|
-
/**
|
|
140
|
-
* Allows to place the sidebar inside the target element.
|
|
141
|
-
* > For more details about target refer to
|
|
142
|
-
* [`Custom Context`](https://ej2.syncfusion.com/documentation/sidebar/custom-context/) documentation.
|
|
143
|
-
*
|
|
144
|
-
* @default null
|
|
145
|
-
*/
|
|
146
|
-
target: HTMLElement | string;
|
|
147
|
-
/**
|
|
148
|
-
* Specifies the whether to apply overlay options to main content when the Sidebar is in an open state.
|
|
149
|
-
* > For more details about showBackdrop refer to
|
|
150
|
-
* [`Backdrop`](https://ej2.syncfusion.com/documentation/sidebar/getting-started/#enable-backdrop) documentation.
|
|
151
|
-
*
|
|
152
|
-
* @default false
|
|
153
|
-
*/
|
|
154
|
-
showBackdrop: boolean;
|
|
155
|
-
/**
|
|
156
|
-
* Specifies the expanding types of the Sidebar.
|
|
157
|
-
* * `Over` - The sidebar floats over the main content area.
|
|
158
|
-
* * `Push` - The sidebar pushes the main content area to appear side-by-side, and shrinks the main content within the screen width.
|
|
159
|
-
* * `Slide` - The sidebar translates the x and y positions of main content area based on the sidebar width.
|
|
160
|
-
* The main content area will not be adjusted within the screen width.
|
|
161
|
-
* * `Auto` - Sidebar with `Over` type in mobile resolution and `Push` type in other higher resolutions.
|
|
162
|
-
* > For more details about SidebarType refer to
|
|
163
|
-
* [`SidebarType`](../../sidebar/variations/) documentation.
|
|
164
|
-
*
|
|
165
|
-
* @default 'Auto'
|
|
166
|
-
*/
|
|
167
|
-
type: SidebarType;
|
|
168
|
-
/**
|
|
169
|
-
* Specifies the width of the Sidebar. By default, the width of the Sidebar sets based on the size of its content.
|
|
170
|
-
* Width can also be set in pixel values.
|
|
171
|
-
*
|
|
172
|
-
* @default 'auto'
|
|
173
|
-
*/
|
|
174
|
-
width: string | number;
|
|
175
|
-
/**
|
|
176
|
-
* Specifies the z-index of the Sidebar. It is applicable only when sidebar act as overlay type.
|
|
177
|
-
*
|
|
178
|
-
* @default 1000
|
|
179
|
-
* @aspType double
|
|
180
|
-
*/
|
|
181
|
-
zIndex: string | number;
|
|
182
|
-
/**
|
|
183
|
-
* Triggers when component is created.
|
|
184
|
-
*
|
|
185
|
-
* @event created
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*/
|
|
189
|
-
created: EmitType<Object>;
|
|
190
|
-
/**
|
|
191
|
-
* Triggers when component is closed.
|
|
192
|
-
*
|
|
193
|
-
* @event close
|
|
194
|
-
*/
|
|
195
|
-
close: EmitType<EventArgs>;
|
|
196
|
-
/**
|
|
197
|
-
* Triggers when component is opened.
|
|
198
|
-
*
|
|
199
|
-
* @event open
|
|
200
|
-
*/
|
|
201
|
-
open: EmitType<EventArgs>;
|
|
202
|
-
/**
|
|
203
|
-
* Triggers when the state(expand/collapse) of the component is changed.
|
|
204
|
-
*
|
|
205
|
-
* @event change
|
|
206
|
-
*/
|
|
207
|
-
change: EmitType<ChangeEventArgs>;
|
|
208
|
-
/**
|
|
209
|
-
* Triggers when component gets destroyed.
|
|
210
|
-
*
|
|
211
|
-
* @event destroyed
|
|
212
|
-
*/
|
|
213
|
-
destroyed: EmitType<Object>;
|
|
214
|
-
defaultBackdropDiv: HTMLElement;
|
|
215
|
-
constructor(options?: SidebarModel, element?: string | HTMLElement);
|
|
216
|
-
protected preRender(): void;
|
|
217
|
-
protected render(): void;
|
|
218
|
-
protected initialize(): void;
|
|
219
|
-
private setEnableRTL;
|
|
220
|
-
private setTarget;
|
|
221
|
-
private getTargetElement;
|
|
222
|
-
private setCloseOnDocumentClick;
|
|
223
|
-
private setWidth;
|
|
224
|
-
private setDimension;
|
|
225
|
-
private setZindex;
|
|
226
|
-
private addClass;
|
|
227
|
-
private checkType;
|
|
228
|
-
private transitionEnd;
|
|
229
|
-
private destroyBackDrop;
|
|
230
|
-
/**
|
|
231
|
-
* Hide the Sidebar component, if it is in an open state.
|
|
232
|
-
*
|
|
233
|
-
* @param {Event} e - The event triggering the hide action.
|
|
234
|
-
* @returns {void}
|
|
235
|
-
*
|
|
236
|
-
*/
|
|
237
|
-
hide(e?: Event): void;
|
|
238
|
-
private setTimeOut;
|
|
239
|
-
/**
|
|
240
|
-
* Shows the Sidebar component, if it is in closed state.
|
|
241
|
-
*
|
|
242
|
-
* @param {Event} e - The optional event triggering the show action.
|
|
243
|
-
* @returns {void}
|
|
244
|
-
*/
|
|
245
|
-
show(e?: Event): void;
|
|
246
|
-
private setAnimation;
|
|
247
|
-
private triggerChange;
|
|
248
|
-
private setDock;
|
|
249
|
-
private createBackDrop;
|
|
250
|
-
protected getPersistData(): string;
|
|
251
|
-
/**
|
|
252
|
-
* Returns the current module name.
|
|
253
|
-
*
|
|
254
|
-
* @returns {string} - returns module name.
|
|
255
|
-
* @private
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
protected getModuleName(): string;
|
|
259
|
-
/**
|
|
260
|
-
* Shows or hides the Sidebar based on the current state.
|
|
261
|
-
*
|
|
262
|
-
* @returns {void}
|
|
263
|
-
*/
|
|
264
|
-
toggle(): void;
|
|
265
|
-
protected getState(): boolean;
|
|
266
|
-
private setMediaQuery;
|
|
267
|
-
private checkMediaQuery;
|
|
268
|
-
protected resize(): void;
|
|
269
|
-
private documentclickHandler;
|
|
270
|
-
private enableGestureHandler;
|
|
271
|
-
private setEnableGestures;
|
|
272
|
-
private wireEvents;
|
|
273
|
-
private unWireEvents;
|
|
274
|
-
/**
|
|
275
|
-
* Called internally if any of the property value changed.
|
|
276
|
-
*
|
|
277
|
-
* @param {SidebarModel} newProp - specifies newProp value.
|
|
278
|
-
* @param {SidebarModel} oldProp - specifies oldProp value.
|
|
279
|
-
* @returns {void}
|
|
280
|
-
* @private
|
|
281
|
-
*
|
|
282
|
-
*/
|
|
283
|
-
onPropertyChanged(newProp: SidebarModel, oldProp: SidebarModel): void;
|
|
284
|
-
protected setType(type?: string): void;
|
|
285
|
-
/**
|
|
286
|
-
* Removes the control from the DOM and detaches all its related event handlers. Also it removes the attributes and classes.
|
|
287
|
-
*
|
|
288
|
-
* @returns {void}
|
|
289
|
-
*
|
|
290
|
-
*/
|
|
291
|
-
destroy(): void;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* Defines the event arguments for the event.
|
|
296
|
-
*
|
|
297
|
-
* @returns void
|
|
298
|
-
*/
|
|
299
|
-
export interface ChangeEventArgs {
|
|
300
|
-
/**
|
|
301
|
-
* Returns event name
|
|
302
|
-
*/
|
|
303
|
-
name: string;
|
|
304
|
-
/**
|
|
305
|
-
* Defines the element.
|
|
306
|
-
*/
|
|
307
|
-
element: HTMLElement;
|
|
308
|
-
}
|
|
309
|
-
export interface TransitionEvent extends Event {
|
|
310
|
-
/**
|
|
311
|
-
* Returns event name
|
|
312
|
-
*/
|
|
313
|
-
propertyName: string;
|
|
314
|
-
}
|
|
315
|
-
export interface EventArgs {
|
|
316
|
-
/**
|
|
317
|
-
* Illustrates whether the current action needs to be prevented or not.
|
|
318
|
-
*/
|
|
319
|
-
cancel?: boolean;
|
|
320
|
-
/**
|
|
321
|
-
* Defines the Sidebar model.
|
|
322
|
-
*/
|
|
323
|
-
model?: SidebarModel;
|
|
324
|
-
/**
|
|
325
|
-
* Defines the element.
|
|
326
|
-
*/
|
|
327
|
-
element: HTMLElement;
|
|
328
|
-
/**
|
|
329
|
-
* Defines the boolean that returns true when the Sidebar is closed by user interaction, otherwise returns false.
|
|
330
|
-
*/
|
|
331
|
-
isInteracted?: boolean;
|
|
332
|
-
/**
|
|
333
|
-
* Defines the original event arguments.
|
|
334
|
-
*/
|
|
335
|
-
event?: MouseEvent | Event;
|
|
336
|
-
}
|