ivue-material-plus
Version:
A high quality UI components Library with Vue.js
164 lines (163 loc) • 3.97 kB
TypeScript
export declare const IvueButton: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
index: {
type: (NumberConstructor | StringConstructor)[];
};
href: {
type: StringConstructor;
default: any;
};
type: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
ripple: {
type: BooleanConstructor;
default: boolean;
};
flat: {
type: BooleanConstructor;
default: boolean;
};
depressed: {
type: BooleanConstructor;
default: boolean;
};
icon: {
type: BooleanConstructor;
default: boolean;
};
outline: {
type: BooleanConstructor;
default: boolean;
};
center: {
type: BooleanConstructor;
default: boolean;
};
radius: {
type: BooleanConstructor;
default: boolean;
};
isActive: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: import("vue").PropType<import("./types/button").Status>;
validator(value: string): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
}, {
data: {
rippleActive: boolean;
mobile: boolean;
};
rippleWorks: import("vue").ComputedRef<boolean>;
activeButton: import("vue").ComputedRef<string>;
btnClasses: import("vue").ComputedRef<{
[x: string]: boolean;
}>;
computedRipple: import("vue").ComputedRef<boolean | {
center: boolean;
}>;
setBackgroundColor: (color: string | any[], data?: {
style?: any;
class?: any;
}) => {
style?: any;
class?: any;
};
setTextColor: (color: string | string[], data?: any) => {
style?: any;
class?: any;
};
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
index: {
type: (NumberConstructor | StringConstructor)[];
};
href: {
type: StringConstructor;
default: any;
};
type: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
ripple: {
type: BooleanConstructor;
default: boolean;
};
flat: {
type: BooleanConstructor;
default: boolean;
};
depressed: {
type: BooleanConstructor;
default: boolean;
};
icon: {
type: BooleanConstructor;
default: boolean;
};
outline: {
type: BooleanConstructor;
default: boolean;
};
center: {
type: BooleanConstructor;
default: boolean;
};
radius: {
type: BooleanConstructor;
default: boolean;
};
isActive: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: import("vue").PropType<import("./types/button").Status>;
validator(value: string): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
}>> & {
onClick?: (...args: any[]) => any;
}, {
flat: boolean;
type: string;
disabled: boolean;
ripple: boolean;
href: string;
depressed: boolean;
icon: boolean;
outline: boolean;
center: boolean;
radius: boolean;
isActive: boolean;
loading: boolean;
color: string | unknown[];
}>> & Record<string, any>;
export default IvueButton;
export * from './index.vue';