0.1.1 • Published 3 years ago

@bonitasoft/pb-input v0.1.1

Weekly downloads
8
License
GPLv2
Repository
github
Last release
3 years ago

pb-input

npmVersion

Simple input web component

Attributes

AttributeTypeDefaultPossible values
idstring""
labelstring""
label-hiddenbooleanfalse
label-positionstring"top"left top
label-widthstring"4"
langstring"en"en es-ES fr ja pt-BR
maxstring""
max-lengthstring""
minstring""
min-lengthstring""
placeholderstring""
readonlybooleanfalse
requiredbooleanfalse
stepstring"1"
typestring"text"
valuestring""

Events

EventType
valueChangeCustomEvent<string>

Usage

Run:

npm install @bonitasoft/pb-input

Then import node_modules/@bonitasoft/pb-input/lib/pb-input.es5.min.js

And you can use new html tag <pb-input placeholder="Type a value"></pb-input>