@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
20 lines (19 loc) • 756 B
TypeScript
import { type App } from "vue";
import { NotifyGlobalConfig, NotifyProps, ShowNotifyParams } from "./notify.props";
export default class NotifyService {
notifyRefs: Array<any>;
globalConfig: Partial<NotifyGlobalConfig>;
escapeAllHtml(htmlString: string): string;
private createNotifyInstance;
private getNotifyInstances;
private updateNotifyPositionForCreate;
private updateNotifyPositionForClose;
show(props: Partial<NotifyProps>): App;
private buildNotifyProps;
info(opts: ShowNotifyParams | string): App;
success(opts: ShowNotifyParams | string): App;
warning(opts: ShowNotifyParams | string): App;
error(opts: ShowNotifyParams | string): App;
close(notifyApp: App): void;
closeAll(): void;
}