Class: AssetTagsSelector

AssetTagsSelector()

Wraps Clay's existing MultiSelect component that offers the user a tag selection input.

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

(nullable) _dataSource :func

Function to call every time the input value changes.
Type:
  • func
Default Value:
  • _handleQuery
Source:

(nullable) addCallback :string

Function to call when a tag is added.
Type:
  • string
Default Value:
  • undefined
Source:

(nullable) eventName :string

Event name which fires when the user selects a display page using the item selector.
Type:
  • string
Default Value:
  • undefined
Source:

(nullable) groupIds :string

List of group IDs where tags should be located.
Type:
  • string
Default Value:
  • undefined
Source:

(nullable) portletURL :string

URL of a portlet to display the tags.
Type:
  • string
Default Value:
  • undefined
Source:

(nullable) removeCallback :string

Function to call when a tag is removed.
Type:
  • string
Default Value:
  • undefined
Source:

(nullable) selectedItems :Array.<Object>

List of the selected items.
Type:
  • Array.<Object>
Default Value:
  • []
Source:

(nullable) tagNames :string

A comma separated list of selected items.
Type:
  • string
Default Value:
  • undefined
Source:

Methods

_handleInputBlur(eventnon-null)

Creates a tag with the text introduced in the input.
Parameters:
Name Type Description
event Event The event.
Source:

attached()

Source: