Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 696 Bytes

inputbox.md

File metadata and controls

32 lines (25 loc) · 696 Bytes
title
Jaseci Inputbox

Summary

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'.

Props

  • placeholder - sets the input placeholder
  • fullwidth - will make the input take up 100% of its parent container.
  • value - sets the value of the input