0 votes
in Onsen UI by
Input Component in onsen UI

1 Answer

0 votes
by
Input is a widely used component. It helps in creating text boxes, check boxes, radio buttons etc.

By using the 'type' prop of this component, you can create any form elements.

Example:

<Ons.Input type='checkbox' /> <Ons.Input type='radio' /> <Ons.Input type='text' />

You can also create event handlers within this component.

<Ons.Input type='radio' onChange={this.handleRadio}/>

The appearance of the input can be customized by using modifiers on this component. We will look at modifiers in subsequent cards.

Related questions

0 votes
asked Feb 7, 2020 in Onsen UI by DavidAnderson
0 votes
0 votes
0 votes
asked Feb 7, 2020 in Onsen UI by DavidAnderson
...