-
Notifications
You must be signed in to change notification settings - Fork 1
Interfaces
Lorenzo D'Ianni edited this page Jan 13, 2018
·
2 revisions
SidebarConfig
interface SidebarConfig {
component?: HTMLElement;
container?: HTMLElement;
background?: HTMLElement;
documentMinSwipeX?: number;
documentSwipeRange?: number;
nativeSwipe?: boolean;
nativeSwipeOpen?: boolean;
position?: string;
backdropOpacity?: number;
}SidebarBase
interface SidebarBase {
open(): void;
close(): void;
toggle(): void;
isVisible(): boolean;
setPosition(position: string): void;
}HTMLSidebarElement
interface HTMLSidebarElement extends HTMLElement {
sidebarjsListener?: boolean;
}