package.src.vaadin-dialog-base-mixin.d.ts Maven / Gradle / Ivy
/**
* @license
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import type { Constructor } from '@open-wc/dedupe-mixin';
export declare function DialogBaseMixin>(
base: T,
): Constructor & T;
export declare class DialogBaseMixinClass {
/**
* True if the overlay is currently displayed.
*/
opened: boolean;
/**
* Set to true to disable closing dialog on outside click
* @attr {boolean} no-close-on-outside-click
*/
noCloseOnOutsideClick: boolean;
/**
* Set to true to disable closing dialog on Escape press
* @attr {boolean} no-close-on-esc
*/
noCloseOnEsc: boolean;
/**
* Set to true to remove backdrop and allow click events on background elements.
*/
modeless: boolean;
/**
* The `role` attribute value to be set on the overlay. Defaults to "dialog".
*
* @attr {string} overlay-role
*/
overlayRole: string;
}