Class: TagEditor

TagEditor

A custom element for a tag editor. Invoke with <dlx-tag-edit>.


new TagEditor()

Create a new Tag Editor. Use document.createElement() rather than new TagEditor.

Extends

  • HTMLElement

Methods


populateAutocomplete(tags)

Set the values that will be suggested as autocomplete values in the category input and value input

Parameters:
Name Type Description
tags models.Tags

A Tags object (Map)


submit()

Processes the submit event on the form