@coreui/vue-pro
Version:
UI Components Library for Vue.js
99 lines (98 loc) • 2.72 kB
TypeScript
declare const CToast: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Auto hide the toast.
*/
autohide: {
type: BooleanConstructor;
default: boolean;
};
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
*/
color: {
type: StringConstructor;
validator: (value: string) => boolean;
};
/**
* Delay hiding the toast (ms).
*/
delay: {
type: NumberConstructor;
default: number;
};
/**
* Optionally add a close button to component and allow it to self dismiss.
*/
dismissible: {
type: BooleanConstructor;
default: boolean;
};
/**
* index of the component.
*/
index: NumberConstructor;
/**
* Title node for your component.
*/
title: StringConstructor;
/**
* Toggle the visibility of component.
*/
visible: BooleanConstructor;
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "show")[], "close" | "show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Auto hide the toast.
*/
autohide: {
type: BooleanConstructor;
default: boolean;
};
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
*/
color: {
type: StringConstructor;
validator: (value: string) => boolean;
};
/**
* Delay hiding the toast (ms).
*/
delay: {
type: NumberConstructor;
default: number;
};
/**
* Optionally add a close button to component and allow it to self dismiss.
*/
dismissible: {
type: BooleanConstructor;
default: boolean;
};
/**
* index of the component.
*/
index: NumberConstructor;
/**
* Title node for your component.
*/
title: StringConstructor;
/**
* Toggle the visibility of component.
*/
visible: BooleanConstructor;
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
onShow?: ((...args: any[]) => any) | undefined;
}>, {
visible: boolean;
dismissible: boolean;
delay: number;
autohide: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export { CToast };