Class ecm.widget.Tags


Extends dijit._Widget.
Provides a widget that is used to display the tags of a document, including a control to edit and retrieve and display the list of all tags that have added the document.
Defined in: <ecm\widget\Tags.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
item 
The ecm.model.ContentItem object being collaborated on.
 
The maximum number of tags displayed as label
 
The maximum width of tags displayed as label

Method Summary

Method Attributes Method Name and Description
 
 
 
setItem(contentItem)
Sets the item being collaborated on.
 
 
Updates the label.

Constructor Detail

ecm.widget.Tags()

Since:
2.0.3

Field Detail

item

The ecm.model.ContentItem object being collaborated on.

maxLabelTags

The maximum number of tags displayed as label

maxLabelWidth

The maximum width of tags displayed as label

Method Detail

postCreate()


resize()


setItem(contentItem)

Sets the item being collaborated on.
Parameters:
contentItem
A ecm.model.ContentItem object.

uninitialize()


updateLabel()

Updates the label.