/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
core/src/components/input-otp/input-otp-interface.ts
23 строки
574 B
Brandy Smith
feat(input-otp): add new input-otp component (#30386)
29 май 2025, 22:10
Не верифицирован
29 май 2025, 22:10
4d6a067
Код
Авторство
О чём код?
/** * Values are converted to strings when emitted which is * why we do not have a `number` type here even though the * `value` prop accepts a `number` type. */ export interface InputOtpInputEventDetail { value?: string | null; event?: Event; } export interface InputOtpChangeEventDetail { value?: string | null; event?: Event; } export interface InputOtpCompleteEventDetail { value?: string | null; event?: Event; } export interface InputOtpCustomEvent<T = InputOtpChangeEventDetail> extends CustomEvent { detail: T; target: HTMLIonInputOtpElement; }