onClick
The function called when the user clicks on the element.
Parameters:
Name |
Type |
Description |
isSelectionUse |
boolean
|
Defines if the selection is used or not. |
Example
Copy code
window.Asc.plugin.event_onClick = function(isSelectionUse) {
window.Asc.plugin.executeMethod("GetCurrentContentControlPr", [], function(obj) {
window.Asc.plugin.currentContentControl = obj;
var controlTag = obj ? obj.Tag : "";
if (isSelectionUse)
controlTag = "";
...
});
};