boundless-input v1.1.0
THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD.
Input
An input control with placeholder emulation for non-supporting platforms.
Input abstracts away the cross-platform differences of placeholder styling and behaviors, for example: Internet Explorer dismisses native placeholders on input focus and other platforms do not. This component ensures that text input controls will feel and behave similarly on more devices.
Component Instance Methods
When using Input
in your project, you may call the following methods on a rendered instance of the component. Use refs
to get the instance.
getValue() returns the current value of the input field
setValue(string) programmatically set the input value; useful for clearing out the input in "uncontrolled" mode -- note that digging into the internals and setting the
refs.field.value = ''
directly will not trigger events and messes up the internal state of the component
Props
Note: only top-level props are in the README, for the full list check out the website.
Required Props
There are no required props.
Optional Props
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago