cui-pin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

CUI-PIN

pin field based on solidjs

CUI SolidJS NPM downloads NPM downloads JS gzip size

Install

# npm
npm install cui-pin
# yarn
yarn add cui-pin

Demo

Demo

Props

// pin field length default:4
length?: number
// pin field type 'text'|'numeric'|'tel'|'password' default: 'numeric'
type?: string
// pin field inputMode default: 'tel'
inputMode? "numeric"| "tel"| "text"| "none"| "url"| "email"| "decimal"| "search"
// field value test regex default: /^[a-zA-Z0-9]+$/
regexCriteria?: RegExp,
// disabled pin default: false
disabled?: boolean
// pin complete callback
onComplete?(pin: string, currentIndex: number): void

Readme

Keywords

none

Package Sidebar

Install

npm i cui-pin

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

22.8 kB

Total Files

14

Last publish

Collaborators

  • cqb325