Example
{
"containerId": "com.ibm.bi.authoring.customControls",
"id": "print",
"label": "Print button",
"tooltip": "Print button",
"icon": "def_print_icon",
"symbols": "v1/ext/ExtensionName/symbols.svg",
"designModule": "v1/ext/ExtensionName/designModule.js"
}
Members
(readonly) containerId :String
This must be "com.ibm.bi.authoring.customControls"
- String
(readonly) designModule :String
This member is optional. References a file that implements the CustomControlDesignModule
interface.
- String
(readonly) icon :String
The control's icon. This is an SVG symbol ID of one of the symbols located in the file referenced by the symbols
member. See the sample SVG symbols file for an example. This member is optional.
- String
(readonly) id :String
The control's ID. This ID is the value used for the refControl
attribute on the <customControl/>
. See Error handling for how bad references are handled.
- String
<customControl refControl="print" path="PrintButton.js"/>
(readonly) label :String
The control's label This member is optional.
- String
(readonly) symbols :String|Array.<String>
The control's symbols. This can either be a single path as a string or multiple paths as an array of strings. See the sample SVG symbols file for an example. This member is optional.
- String |
Array.<String>
(readonly) tooltip :String
The control's tooltip This member is optional.
- String