Static
DEFAULT_OPTIONS
DEFAULT_OPTIONS: {
actions: {
rest: ((event, el) => Promise<void>);
toggle: ((event, el) => void);
};
classes: string[];
form: {
closeOnSubmit: boolean;
handler: ((event, form, formData) => void);
submitOnChange: boolean;
};
position: {
width: number;
};
tag: string;
window: {
minimizable: boolean;
resizable: boolean;
title: string;
};
} = ...
Type declaration
actions: {
rest: ((event, el) => Promise<void>);
toggle: ((event, el) => void);
}
rest: ((event, el) => Promise<void>)
- (event, el): Promise<void>
Returns Promise<void>
toggle: ((event, el) => void)
- (event, el): void
Returns void
classes: string[]
form: {
closeOnSubmit: boolean;
handler: ((event, form, formData) => void);
submitOnChange: boolean;
}
closeOnSubmit: boolean
handler: ((event, form, formData) => 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