@blinkk/editor
Version:
Structured content editor with live previews.
16 lines (15 loc) • 553 B
TypeScript
import { BasePart, Part } from '.';
import { TemplateResult } from '@blinkk/selective-edit';
import { Toast, ToastConfig } from '../ui/toast';
import { LiveEditor } from '../editor';
/**
* Toasts are centralized in the display to be outside of other
* modals and structures. Toast elements live as siblings in the
* DOM.
*/
export declare class ToastsPart extends BasePart implements Part {
toasts: Array<Toast>;
constructor();
template(editor: LiveEditor): TemplateResult;
}
export declare function showToast(toast: ToastConfig): void;