layui/.svn/pristine/6e/6e11cb553134c806b5478a2ea9f54e0e5d1566e6.svn-base
2022-12-09 16:41:41 +08:00

24 lines
991 B
Plaintext

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";