UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

26 lines (24 loc) 1.02 kB
import { PropType, ExtractPropTypes, Component } from 'vue'; import { ComicSize } from '../../../utils'; export declare const inputProps: { readonly modelValue: PropType<string | number>; readonly size: PropType<ComicSize>; readonly prefixIcon: PropType<string | Component>; readonly suffixIcon: PropType<string | Component>; readonly clearable: BooleanConstructor; readonly placeholder: StringConstructor; readonly type: StringConstructor; readonly disabled: BooleanConstructor; readonly maxlength: PropType<string | number>; readonly minlength: PropType<string | number>; }; export type InputProps = ExtractPropTypes<typeof inputProps>; export declare const inputEmits: { "update:modelValue": (val: string | number) => boolean; change: (val: string | number) => boolean; input: (val: string | number) => boolean; blur: (evt: FocusEvent) => boolean; clear: () => boolean; focus: (evt: FocusEvent) => boolean; }; export type InputEmits = typeof inputEmits;