gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
26 lines (25 loc) • 715 B
TypeScript
import { type StyleValue } from 'vue';
export interface PasswordInputProps {
rootStyle?: StyleValue;
rootClass?: string;
modelValue?: string;
length?: number;
type?: 'border' | 'underline';
gap?: number | string;
plainText?: boolean;
focused?: boolean;
customKeyboard?: boolean;
disabled?: boolean;
readonly?: boolean;
validateEvent?: boolean;
}
export declare const defaultPasswordInputProps: {
length: number;
type: PasswordInputProps["type"];
validateEvent: boolean;
};
export interface PasswordInputEmits {
(e: 'update:model-value', value: string): void;
(e: 'change', value: string): void;
(e: 'updat:focused', focused: boolean): void;
}