igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
29 lines (28 loc) • 1.02 kB
TypeScript
import { IgcBaseAlertLikeComponent } from '../common/mixins/alert.js';
/**
* A toast component is used to show a brief, non-interactive notification.
*
* The component integrates with the
* [Invoker Commands API](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API):
* an Ignite button or a native `<button>` with `command="--show"` / `"--hide"` /
* `"--toggle"` and `commandfor` pointing to this element will call the
* corresponding method declaratively without any JavaScript.
*
* @element igc-toast
*
* @slot - Default slot for the toast content.
*
* @csspart base - The base wrapper of the toast.
*/
export default class IgcToastComponent extends IgcBaseAlertLikeComponent {
static readonly tagName = "igc-toast";
static styles: import("lit").CSSResult[];
static register(): void;
constructor();
protected render(): import("lit-html").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'igc-toast': IgcToastComponent;
}
}