title |
---|
Jaseci Inputbox |
An Inputbox
component will render a container, jsc-inputbox
, that will a render an input
element within it's DOM.
Example:
{
"component": "Inputbox",
"events": {},
"props": {
"placeholder": "Enter your name..."
"fullwidth": "true",
"value": "Jaseci",
},
"css": {
"padding": "0 2px"
},
}
The code above will render an input with a placeholder of "Enter your name", it will span the full width of its parent and have its value set to 'Jaseci'.
- placeholder - sets the input placeholder
- fullwidth - will make the input take up 100% of its parent container.
- value - sets the value of the input