Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 479 Bytes

File metadata and controls

18 lines (12 loc) · 479 Bytes

Text

The most basic usage of the component is to simply reference it:

    <x-text name="title" />

This will output the following HTML:

<input name="title" type="text" id="title" class="form-control">

You can use this component in the same way as the "Input" component because it extends it.

Reference on MDN, especially for attributes