reporting.views
Display content in a panel in the Report Editor.
onButtonClick()
onButtonClick(
buttonId
,callback
):void
Run a function when the user clicks a button in your view.
Parameters
Parameter | Type | Description |
---|---|---|
buttonId | string | The ID you've associated with your button. See specific view documentation to see how to add an ID to a button. |
callback | (event ) => void | Function that runs if the button is clicked. |
Returns
void
onTextInputChange()
onTextInputChange(
inputId
,callback
):void
Run a function when the user changes an input in your view.
Parameters
Parameter | Type | Description |
---|---|---|
inputId | string | The ID you've associated with your input. |
callback | (event ) => void | Function that runs if the input value is changed. |
Returns
void
render()
render(
nodes
):void
Fire off an event to update the view associated with your extension.
Parameters
Parameter | Type | Description |
---|---|---|
nodes | Node [] | Nested children. |
Returns
void