jv3-alert
Version:
easy alert from assign by route by cdnagroup
10 lines (9 loc) • 548 B
TypeScript
import { type IJAlertConfig } from "@/jv3-alert.d";
export default class JAlert {
constructor(config: IJAlertConfig);
dialog(message: string | any, options?: IJAlertConfig, template?: string): Promise<any>;
alert(message: string | any, options?: IJAlertConfig): Promise<any>;
error(message: string | any, options?: IJAlertConfig): Promise<any>;
info(message: string | any, options?: IJAlertConfig): Promise<any>;
confirm(message: string | any, callback: (result: boolean) => void, options?: IJAlertConfig): Promise<void>;
}