new CreateDocumentAction(urlChooser)
Create action.
Parameters:
Name | Type | Description |
---|---|---|
urlChooser |
sync.api.UrlChooser | the urlChooser the create action will use. |
- Source:
Methods
getActionId() → {string}
Get the action id.
- Source:
Returns:
the action id or null if none was provided.
- Type
- string
getDescription()
- Source:
getDisplayName()
- Source:
getLargeIcon()
- Source:
getSmallIcon()
- Source:
isEnabled()
- Source:
renderLargeIcon() → {HTMLElement}
Handles the rendering of the action's large icon.
- Source:
Returns:
the rendered large icon.
- Type
- HTMLElement
setActionId(newActionId)
Set the action id.
Parameters:
Name | Type | Description |
---|---|---|
newActionId |
the new action id. |
- Source:
setActionName(newName)
Sets the action name.
The action name is displayed under the action large icon.
Parameters:
Name | Type | Description |
---|---|---|
newName |
the new name. |
- Source:
setDescription(newDescription)
Sets the action's description.
Parameters:
Name | Type | Description |
---|---|---|
newDescription |
the new action description. |
- Source:
setLargeIcon(newLargeIcon)
Sets the action's large icon.
Parameters:
Name | Type | Description |
---|---|---|
newLargeIcon |
the new icon source. |
- Source: