ForgeComponents
en

Components

j-Tagger

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

Tagger can render items in the array and each item can be removed.

Configuration:

  • text {String} a property name for the label (default: name)
  • fullwidth {Boolean} enables fullwidth tags (default: false)

Use it with <ui-component name="tagger">. 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">
	<ui-component name="tagger" path="mydata"></ui-component>
	<br />
</div>

<script>
	var mydata = [{ id: 1, name: 'Total.js' }, { id: 2, name: 'jComponent' }];
</script>