Skip to main content

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

ParameterTypeDescription
buttonIdstringThe ID you've associated with your button. See specific view documentation to see how to add an ID to a button.
callback(event) => voidFunction 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

ParameterTypeDescription
inputIdstringThe ID you've associated with your input.
callback(event) => voidFunction 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

ParameterTypeDescription
nodesNode[]Nested children.

Returns

void