ForgeComponents
en

Components

j-ColorSelector

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

Configuration:

  • disabled {Boolean} can disable this control
  • required {Boolean} (optional) enables "required" (default: false)

Use it with <ui-component name="colorselector">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<div style="width:300px;margin:50px auto 0">
	<ui-component name="colorselector" path="mycolor">Select color:</ui-component>
</div>

<script>
	var mycolor = '#3BAFDA';
</script>