vue3-snackbar
Version:
<p align="center"> <a href="https://evomark.co.uk" target="_blank" alt="Link to evoMark's website"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://evomark.co.uk/wp-content/uploads/static/evomark-logo--dark.svg
82 lines • 2.81 kB
TypeScript
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & (new () => {
$slots: S;
});
declare const __VLS_component: import("vue").DefineComponent<{}, {
$emit: typeof emit;
$props: Partial<typeof props>;
warning: string;
error: string;
info: string;
success: string;
top: boolean;
bottom: boolean;
left: boolean;
right: boolean;
start: boolean;
end: boolean;
reverse: boolean;
messageActionClass: string;
dense: boolean;
iconPresets: Record<string, any>;
messageTextColor: string;
messageIconColor: string;
backgroundOpacity: string | number;
backgroundColor: string;
baseBackgroundColor: string;
dismissOnActionClick: boolean;
groups: boolean;
attach: string | HTMLElement | Record<string, any>;
border: string;
zIndex: number;
shadow: string | boolean;
contentWidth: string;
borderWidth: string | number;
transitionName: string;
messageClass?: string;
duration?: string | number;
limit?: number;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
type __VLS_Slots = {
[x: string]: (props: any) => any;
[x: number]: (props: any) => any;
};
declare const emit: (event: "click:action" | "added" | "group-added" | "dismissed" | "removed" | "cleared", ...args: any[]) => void;
/**
* @const {import("./props.js").SnackbarProps} props
*/
declare const props: {
readonly warning: string;
readonly error: string;
readonly info: string;
readonly success: string;
readonly top: boolean;
readonly bottom: boolean;
readonly left: boolean;
readonly right: boolean;
readonly start: boolean;
readonly end: boolean;
readonly reverse: boolean;
readonly messageActionClass: string;
readonly dense: boolean;
readonly iconPresets: Record<string, any>;
readonly messageTextColor: string;
readonly messageIconColor: string;
readonly backgroundOpacity: string | number;
readonly backgroundColor: string;
readonly baseBackgroundColor: string;
readonly dismissOnActionClick: boolean;
readonly groups: boolean;
readonly attach: string | HTMLElement | Record<string, any>;
readonly border: string;
readonly zIndex: number;
readonly shadow: string | boolean;
readonly contentWidth: string;
readonly borderWidth: string | number;
readonly transitionName: string;
readonly messageClass?: string;
readonly duration?: string | number;
readonly limit?: number;
};
//# sourceMappingURL=Vue3Snackbar.vue.d.ts.map