Static
DEFAULT_OPTIONS
DEFAULT_OPTIONS: {
actions: {
rest: ((event: Event, el: Element) => Promise<void>);
toggle: ((event: Event, el: Element) => void);
};
classes: string[];
form: {
closeOnSubmit: boolean;
handler: ((event: Event, form: Element, formData: FormDataExtended) => void);
submitOnChange: boolean;
};
position: {
width: number;
};
tag: string;
window: {
minimizable: boolean;
resizable: boolean;
title: string;
};
} = ...
Type declaration
actions: {
rest: ((event: Event, el: Element) => Promise<void>);
toggle: ((event: Event, el: Element) => void);
}
rest: ((event: Event, el: Element) => Promise<void>)
- (event, el): Promise<void>
Returns Promise<void>
toggle: ((event: Event, el: Element) => void)
- (event, el): void
Returns void
classes: string[]
form: {
closeOnSubmit: boolean;
handler: ((event: Event, form: Element, formData: FormDataExtended) => void);
submitOnChange: boolean;
}
closeOnSubmit: boolean
handler: ((event: Event, form: Element, formData: FormDataExtended) => void)
- (event, form, formData): void
Parameters
- event: Event
- form: Element
- formData: FormDataExtended
Returns void
submitOnChange: boolean
position: {
width: number;
}
tag: string
window: {
minimizable: boolean;
resizable: boolean;
title: string;
}
minimizable: boolean
resizable: boolean
title: string
Rest button handler