dundas.controls.Tag Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.Tag
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
value Gets or sets the value displayed in the control.
watermark Gets or sets the watermark text displayed on the input control.
 
 

Methods

 
  Name Description
addInheritedTags Adds inherited tags to the existing tag control. These tags are always read-only, and do not show up in the getTags and other method calls.
addTags Adds tags to the existing tag control. Used for when you load something and it has tags.
checkIfEmpty Checks to see if the input is empty.
checkIfModified Checks to see if tags have been modified.
clear Clears the input value.
createTag Forces the creation of tags. Use to ensure that text in the tags input field is added as a tag.
dispose Disposes the component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getTags Returns the tags in the control. Used for the setTags method in the File System Service.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.