2.0.2 • Published 7 years ago

ux-input v2.0.2

Weekly downloads
2
License
pemrouz.mit-licen...
Repository
github
Last release
7 years ago

ux-input

image Build Status Coverage Status Browser Results

A simple input component implementing infield top-aligned form labels. Labels are displayed as placeholders and subsequently at the top of the field when the component has a value.

These are all the options you can pass to the component:

value = ''

The value of the element

placeholder = ''

The placeholder text to display

multiline = false

Allows using this component like a textarea

focused = false

Whether the component is in the focused state or not

optional = false

If true, an optional label will be displayed on the top-right

type = 'text'

The type attribute to use on the underlying input element

The following will also be set on the underlying input element if specified: min, max, disabled, autofocus, required

change

Notifies of changes to the value.

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago