press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
18 lines (17 loc) • 407 B
TypeScript
export declare const DEFAULT_OPTIONS: {
selector: string | ((context: any) => any);
type: string;
message: string;
background: string;
duration: number;
show: boolean;
zIndex: number;
top: number;
color: string;
safeAreaInsetTop: boolean;
onClick: () => void;
onOpened: () => void;
onClose: () => void;
animationDuration: number;
};
export declare const DEFAULT_KEY = 'message';