24 lines
991 B
TypeScript
24 lines
991 B
TypeScript
import { AppContext, App } from "vue";
|
|
import LayLayer from "./component/index.vue";
|
|
import { InstallOptions } from "./types";
|
|
declare const layer: {
|
|
_context: AppContext | null;
|
|
open: (option: any, callback?: Function) => string;
|
|
drawer: (option: any, callback?: Function) => string;
|
|
msg: (message: string, option?: any, callback?: Function) => string;
|
|
load: (load: number, option?: any, callback?: Function) => string;
|
|
confirm: (msg: string, option?: any, callback?: Function) => string;
|
|
photos: (option: any, callback?: Function) => string;
|
|
notifiy: (option?: any, callback?: Function) => string;
|
|
create: (option: any, defaultOption: any, callback?: Function) => string;
|
|
close: (id: any) => void;
|
|
closeAll: () => void;
|
|
reset: (instance: any) => void;
|
|
};
|
|
export { layer, LayLayer };
|
|
declare const _default: {
|
|
install: (app: App<any>, options?: InstallOptions | undefined) => void;
|
|
};
|
|
export default _default;
|
|
import "./theme/index.css";
|