Clipboard module responsible for display a clipboard object on UI
Classes
Methods
(static) addObject(objectId)
Factory function that creates a new Clipboard instance if already not created, then add objectId into the Clipboard.
Parameters:
Name | Type | Description |
---|---|---|
objectId |
string |
(static) addObjects(objectIds)
Factory function that creates a new Clipboard instance if already not created, then add selected objectIds into the Clipboard.
Parameters:
Name | Type | Description |
---|---|---|
objectIds |
Array.<string> |
(static) clear()
Factory method that removes the clipboard content.
(static) initClipboard(input) → {App.clipboard.Clipboard}
Factory function that creates instance of clipboard widget by providing input
Parameters:
Name | Type | Description |
---|---|---|
input |
Object | to be used when creating the Clipboard. |
Returns:
The created Clipboard instance
(static) removeObject(objectId)
Factory function that remove objects from Clipbaord.
Parameters:
Name | Type | Description |
---|---|---|
objectId |
string | that to be removed. |
(static) view()
Factory function that creates a new Clipboard instance if already not created, then open a clipboard widget.