Properties
$
$: ComponentInternalInstance
$attrs
$attrs: Data
$data
$data: {}
$el
$el: any
$emit
$emit: ((event, ...args) => void)
Type declaration
- (event, ...args): void
Parameters
event: "update:model-value" | "update:period" | "error"
Rest
...args: any[]
Returns void
$forceUpdate
$forceUpdate: (() => void)
$nextTick
$nextTick: (<T, R>(this, fn?) => Promise<Awaited<R>>)
Type declaration
- <T, R>(this, fn?): Promise<Awaited<R>>
Parameters
this: T
Optional
fn: ((this) => R)
Returns Promise<Awaited<R>>
$options
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{ buttonProps: { type: PropType<Partial<ExtractPropTypes<{ block: { default: any; type: BooleanConstructor; }; danger: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; ghost: { default: any; type: BooleanConstructor; }; href: StringConstructor; htmlType: { default: string; type: PropType<ButtonHTMLType>; }; icon: VueTypeValidableDef<any>; loading: { default: (() => boolean | { delay?: number; }); type: PropType<boolean | { delay?: number; }>; }; onClick: { type: PropType<((event) => void)>; }; onMousedown: { type: PropType<((event) => void)>; }; prefixCls: StringConstructor; shape: { type: PropType<ButtonShape>; }; size: { type: PropType<SizeType>; }; target: StringConstructor; title: StringConstructor; type: PropType<ButtonType>; }>>>; default() => {}; }; cols: { default: (() => { day: number; hour: number; minute: number; second: number; }); type: PropType<Record<string, number>>; }; customLocale: { type: PropType<Localization>; }; disabled: { default: boolean; type: BooleanConstructor; }; dropdownProps: { default: (() => void); type: PropType<Partial<ExtractPropTypes<{ align: { type: PropType<Align>; }; arrow: { default: any; type: PropType<boolean | DropdownArrowOptions>; }; destroyPopupOnHide: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; forceRender: { default: any; type: BooleanConstructor; }; getPopupContainer: PropType<((triggerNode) => HTMLElement)>; minOverlayWidthMatchTrigger: { default: any; type: BooleanConstructor; }; mouseEnterDelay: NumberConstructor; mouseLeaveDelay: NumberConstructor; onUpdate:visible: { type: PropType<((val) => void)>; }; onVisibleChange: { type: PropType<((val) => void)>; }; openClassName: StringConstructor; overlay: VueTypeValidableDef<any>; overlayClassName: StringConstructor; overlayStyle: { default: CSSProperties; type: PropType<CSSProperties>; }; placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">; prefixCls: StringConstructor; transitionName: StringConstructor; trigger: { type: PropType<Trigger | Trigger[]>; }; visible: { default: any; type: BooleanConstructor; }; }>>>; }; fields: { type: PropType<Field[]>; }; format: { type: PropType<CronFormat>; }; locale: { type: StringConstructor; }; modelValue: { type: StringConstructor; }; period: { type: StringConstructor; }; periods: { type: PropType<Period[]>; }; }>> & { onError?: ((...args) => any); onUpdate:model-value?: ((...args) => any); onUpdate:period?: ((...args) => any); }, { cron: Ref<string>; error: Ref<string>; period: { items: { id: string; text: any; value: string[]; }[]; prefix: Ref<string>; select: ((periodId) => void); selected: Ref<{ id: string; text?: string; value: string[]; } | { id: string; text: any; value: string[]; }>; suffix: Ref<string>; }; segments: { cron: Ref<string>; error: Ref<string>; id: string; items: FieldItem[]; prefix: Ref<string>; select: ((evt) => void); selected: Ref<number[]>; suffix: Ref<string>; text: Ref<string>; }[]; selected: ComputedRef<{ cron: Ref<string>; error: Ref<string>; id: string; items: FieldItem[]; prefix: Ref<string>; select: ((evt) => void); selected: Ref<number[]>; suffix: Ref<string>; text: Ref<string>; }[]>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:model-value" | "update:period" | "error")[], string, { buttonProps: Partial<ExtractPropTypes<{ block: { default: any; type: BooleanConstructor; }; danger: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; ghost: { default: any; type: BooleanConstructor; }; href: StringConstructor; htmlType: { default: string; type: PropType<ButtonHTMLType>; }; icon: VueTypeValidableDef<any>; loading: { default: (() => boolean | { delay?: number; }); type: PropType<boolean | { delay?: number; }>; }; onClick: { type: PropType<((event) => void)>; }; onMousedown: { type: PropType<((event) => void)>; }; prefixCls: StringConstructor; shape: { type: PropType<ButtonShape>; }; size: { type: PropType<SizeType>; }; target: StringConstructor; title: StringConstructor; type: PropType<ButtonType>; }>>; cols: Record<string, number>; disabled: boolean; dropdownProps: Partial<ExtractPropTypes<{ align: { type: PropType<Align>; }; arrow: { default: any; type: PropType<boolean | DropdownArrowOptions>; }; destroyPopupOnHide: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; forceRender: { default: any; type: BooleanConstructor; }; getPopupContainer: PropType<((triggerNode) => HTMLElement)>; minOverlayWidthMatchTrigger: { default: any; type: BooleanConstructor; }; mouseEnterDelay: NumberConstructor; mouseLeaveDelay: NumberConstructor; onUpdate:visible: { type: PropType<((val) => void)>; }; onVisibleChange: { type: PropType<((val) => void)>; }; openClassName: StringConstructor; overlay: VueTypeValidableDef<any>; overlayClassName: StringConstructor; overlayStyle: { default: CSSProperties; type: PropType<CSSProperties>; }; placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">; prefixCls: StringConstructor; transitionName: StringConstructor; trigger: { type: PropType<Trigger | Trigger[]>; }; visible: { default: any; type: BooleanConstructor; }; }>>; }, {}, string, {}> & MergedComponentOptionsOverride $parent
$parent: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
$props
$props: Partial<{ buttonProps: Partial<ExtractPropTypes<{ block: { default: any; type: BooleanConstructor; }; danger: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; ghost: { default: any; type: BooleanConstructor; }; href: StringConstructor; htmlType: { default: string; type: PropType<ButtonHTMLType>; }; icon: VueTypeValidableDef<any>; loading: { default: (() => boolean | { delay?: number; }); type: PropType<boolean | { delay?: number; }>; }; onClick: { type: PropType<((event) => void)>; }; onMousedown: { type: PropType<((event) => void)>; }; prefixCls: StringConstructor; shape: { type: PropType<ButtonShape>; }; size: { type: PropType<SizeType>; }; target: StringConstructor; title: StringConstructor; type: PropType<ButtonType>; }>>; cols: Record<string, number>; disabled: boolean; dropdownProps: Partial<ExtractPropTypes<{ align: { type: PropType<Align>; }; arrow: { default: any; type: PropType<boolean | DropdownArrowOptions>; }; destroyPopupOnHide: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; forceRender: { default: any; type: BooleanConstructor; }; getPopupContainer: PropType<((triggerNode) => HTMLElement)>; minOverlayWidthMatchTrigger: { default: any; type: BooleanConstructor; }; mouseEnterDelay: NumberConstructor; mouseLeaveDelay: NumberConstructor; onUpdate:visible: { type: PropType<((val) => void)>; }; onVisibleChange: { type: PropType<((val) => void)>; }; openClassName: StringConstructor; overlay: VueTypeValidableDef<any>; overlayClassName: StringConstructor; overlayStyle: { default: CSSProperties; type: PropType<CSSProperties>; }; placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">; prefixCls: StringConstructor; transitionName: StringConstructor; trigger: { type: PropType<Trigger | Trigger[]>; }; visible: { default: any; type: BooleanConstructor; }; }>>; }> & Omit<{ buttonProps: Partial<ExtractPropTypes<{ block: { default: any; type: BooleanConstructor; }; danger: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; ghost: { default: any; type: BooleanConstructor; }; href: StringConstructor; htmlType: { default: string; type: PropType<ButtonHTMLType>; }; icon: VueTypeValidableDef<any>; loading: { default: (() => boolean | { delay?: number; }); type: PropType<boolean | { delay?: number; }>; }; onClick: { type: PropType<((event) => void)>; }; onMousedown: { type: PropType<((event) => void)>; }; prefixCls: StringConstructor; shape: { type: PropType<ButtonShape>; }; size: { type: PropType<SizeType>; }; target: StringConstructor; title: StringConstructor; type: PropType<ButtonType>; }>>; cols: Record<string, number>; customLocale?: Localization; disabled: boolean; dropdownProps: Partial<ExtractPropTypes<{ align: { type: PropType<Align>; }; arrow: { default: any; type: PropType<boolean | DropdownArrowOptions>; }; destroyPopupOnHide: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; forceRender: { default: any; type: BooleanConstructor; }; getPopupContainer: PropType<((triggerNode) => HTMLElement)>; minOverlayWidthMatchTrigger: { default: any; type: BooleanConstructor; }; mouseEnterDelay: NumberConstructor; mouseLeaveDelay: NumberConstructor; onUpdate:visible: { type: PropType<((val) => void)>; }; onVisibleChange: { type: PropType<((val) => void)>; }; openClassName: StringConstructor; overlay: VueTypeValidableDef<any>; overlayClassName: StringConstructor; overlayStyle: { default: CSSProperties; type: PropType<CSSProperties>; }; placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">; prefixCls: StringConstructor; transitionName: StringConstructor; trigger: { type: PropType<Trigger | Trigger[]>; }; visible: { default: any; type: BooleanConstructor; }; }>>; fields?: Field[]; format?: CronFormat; locale?: string; modelValue?: string; onError?: ((...args) => any); onUpdate:model-value?: ((...args) => any); onUpdate:period?: ((...args) => any); period?: string; periods?: Period[]; } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{ buttonProps: { type: PropType<Partial<ExtractPropTypes<{ block: { default: any; type: BooleanConstructor; }; danger: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; ghost: { default: any; type: BooleanConstructor; }; href: StringConstructor; htmlType: { default: string; type: PropType<ButtonHTMLType>; }; icon: VueTypeValidableDef<any>; loading: { default: (() => boolean | { delay?: number; }); type: PropType<boolean | { delay?: number; }>; }; onClick: { type: PropType<((event) => void)>; }; onMousedown: { type: PropType<((event) => void)>; }; prefixCls: StringConstructor; shape: { type: PropType<ButtonShape>; }; size: { type: PropType<SizeType>; }; target: StringConstructor; title: StringConstructor; type: PropType<ButtonType>; }>>>; default() => {}; }; cols: { default: (() => { day: number; hour: number; minute: number; second: number; }); type: PropType<Record<string, number>>; }; customLocale: { type: PropType<Localization>; }; disabled: { default: boolean; type: BooleanConstructor; }; dropdownProps: { default: (() => void); type: PropType<Partial<ExtractPropTypes<{ align: { type: PropType<Align>; }; arrow: { default: any; type: PropType<boolean | DropdownArrowOptions>; }; destroyPopupOnHide: { default: any; type: BooleanConstructor; }; disabled: { default: any; type: BooleanConstructor; }; forceRender: { default: any; type: BooleanConstructor; }; getPopupContainer: PropType<((triggerNode) => HTMLElement)>; minOverlayWidthMatchTrigger: { default: any; type: BooleanConstructor; }; mouseEnterDelay: NumberConstructor; mouseLeaveDelay: NumberConstructor; onUpdate:visible: { type: PropType<((val) => void)>; }; onVisibleChange: { type: PropType<((val) => void)>; }; openClassName: StringConstructor; overlay: VueTypeValidableDef<any>; overlayClassName: StringConstructor; overlayStyle: { default: CSSProperties; type: PropType<CSSProperties>; }; placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">; prefixCls: StringConstructor; transitionName: StringConstructor; trigger: { type: PropType<Trigger | Trigger[]>; }; visible: { default: any; type: BooleanConstructor; }; }>>>; }; fields: { type: PropType<Field[]>; }; format: { type: PropType<CronFormat>; }; locale: { type: StringConstructor; }; modelValue: { type: StringConstructor; }; period: { type: StringConstructor; }; periods: { type: PropType<Period[]>; }; }>> & { onError?: ((...args) => any); onUpdate:model-value?: ((...args) => any); onUpdate:period?: ((...args) => any); }, "cols" | "disabled" | "buttonProps" | "dropdownProps"> $refs
$refs: Data
$root
$root: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
$slots
$slots: Readonly<InternalSlots>
Readonly
buttonProps
buttonProps: Partial<ExtractPropTypes<{
block: {
default: any;
type: BooleanConstructor;
};
danger: {
default: any;
type: BooleanConstructor;
};
disabled: {
default: any;
type: BooleanConstructor;
};
ghost: {
default: any;
type: BooleanConstructor;
};
href: StringConstructor;
htmlType: {
default: string;
type: PropType<ButtonHTMLType>;
};
icon: VueTypeValidableDef<any>;
loading: {
default: (() => boolean | {
delay?: number;
});
type: PropType<boolean | {
delay?: number;
}>;
};
onClick: {
type: PropType<((event) => void)>;
};
onMousedown: {
type: PropType<((event) => void)>;
};
prefixCls: StringConstructor;
shape: {
type: PropType<ButtonShape>;
};
size: {
type: PropType<SizeType>;
};
target: StringConstructor;
title: StringConstructor;
type: PropType<ButtonType>;
}>>
Readonly
cols
cols: Record<string, number>
cron
cron: string
Optional
Readonly
customLocale
Readonly
disabled
disabled: boolean
Readonly
dropdownProps
dropdownProps: Partial<ExtractPropTypes<{
align: {
type: PropType<Align>;
};
arrow: {
default: any;
type: PropType<boolean | DropdownArrowOptions>;
};
destroyPopupOnHide: {
default: any;
type: BooleanConstructor;
};
disabled: {
default: any;
type: BooleanConstructor;
};
forceRender: {
default: any;
type: BooleanConstructor;
};
getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
minOverlayWidthMatchTrigger: {
default: any;
type: BooleanConstructor;
};
mouseEnterDelay: NumberConstructor;
mouseLeaveDelay: NumberConstructor;
onUpdate:visible: {
type: PropType<((val) => void)>;
};
onVisibleChange: {
type: PropType<((val) => void)>;
};
openClassName: StringConstructor;
overlay: VueTypeValidableDef<any>;
overlayClassName: StringConstructor;
overlayStyle: {
default: CSSProperties;
type: PropType<CSSProperties>;
};
placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
prefixCls: StringConstructor;
transitionName: StringConstructor;
trigger: {
type: PropType<Trigger | Trigger[]>;
};
visible: {
default: any;
type: BooleanConstructor;
};
}>>
error
error: string
Optional
Readonly
fields
Optional
Readonly
format
Optional
Readonly
locale
locale?: string
Optional
Readonly
modelValue
modelValue?: string
Optional
onError
onError?: ((...args) => any)
Type declaration
- (...args): any
Returns any
Optional
onUpdate:model-value
onUpdate:model-value?: ((...args) => any)
Type declaration
- (...args): any
Returns any
Optional
onUpdate:period
onUpdate:period?: ((...args) => any)
Type declaration
- (...args): any
Returns any
period
period: string & {
items: {
id: string;
text: any;
value: string[];
}[];
prefix: Ref<string>;
select: ((periodId) => void);
selected: Ref<{
id: string;
text?: string;
value: string[];
} | {
id: string;
text: any;
value: string[];
}>;
suffix: Ref<string>;
}
Type declaration
items: {
id: string;
text: any;
value: string[];
}[]
prefix: Ref<string>
select: ((periodId) => void)
- (periodId): void
Returns void
selected: Ref<{
id: string;
text?: string;
value: string[];
} | {
id: string;
text: any;
value: string[];
}>
suffix: Ref<string>
Optional
Readonly
periods
segments
segments: { cron: Ref<string>; error: Ref<string>; id: string; items: FieldItem[]; prefix: Ref<string>; select: ((evt) => void); selected: Ref<number[]>; suffix: Ref<string>; text: Ref<string>; }[] Type declaration
cron: Ref<string>
error: Ref<string>
id: string
prefix: Ref<string>
select: ((evt) => void)
selected: Ref<number[]>
suffix: Ref<string>
text: Ref<string>
selected
selected: { cron: Ref<string>; error: Ref<string>; id: string; items: FieldItem[]; prefix: Ref<string>; select: ((evt) => void); selected: Ref<number[]>; suffix: Ref<string>; text: Ref<string>; }[] Type declaration
cron: Ref<string>
error: Ref<string>
id: string
prefix: Ref<string>
select: ((evt) => void)
selected: Ref<number[]>
suffix: Ref<string>
text: Ref<string>
Properties of Ant Design Vue Button