Edit Mode
<lvl-tag-editor use-default-css='true' ←'false' to provide your own styles focus-input='true' ←optional, include to grab focus tags='tags' ←the array containing tags on the parent scope on-hover='hover(tag, elementPos)' ←callback when mouse hovers over a tag on-hover-out='hoverOut()' ←callback when mouse stops hovering over tag on-validate='validate(tag)' ←callback before tag is added, return false to prevent ></lvl-tag-editor>
- Enter text in the input element
- Press 'enter' or blur focus to add the tag
- The tag 'flarn' fails validation
→
Invalid Tag The word 'flarn' cannot be used as a tag!