UNPKG

@lion/ui

Version:

A package of extendable web components

28 lines 999 B
/** * Contains all the funcionaility of LionButton and LionButtonReset. On top of that it * supports implicit form submission. * * Use when: * - the Application Developer should be able to switch types between 'submit'|'reset'|'button' * (this is similar to how native HTMLButtonElement works) * - a submit button with native form support is needed * * @customElement lion-button-submit */ export class LionButtonSubmit extends LionButtonReset { /** * @type {HTMLButtonElement|null} * @protected */ protected get _nativeButtonNode(): HTMLButtonElement | null; /** @type {HTMLButtonElement|null} */ __implicitSubmitHelperButton: HTMLButtonElement | null; } export type TemplateResult = import('lit').TemplateResult; export type HelperRegistration = { lionButtons: Set<LionButtonSubmit>; helper: HTMLButtonElement; observer: MutationObserver; }; import { LionButtonReset } from "./LionButtonReset.js"; //# sourceMappingURL=LionButtonSubmit.d.ts.map