getInsertButton();
The getInsertButton method returns a button of the TransformDialog component's left panel used to insert a dimension element formula to formula editor of the TransformDialog component.
Returned value - instance of the PP.Ui.Button class.
To execute the example, the HTML page must contain the TransformDialog component named dialog (see Example of Creating the TransformDialog Component). Get a title of the button on the dialog box left panel:
// Get a title of the left panel button console.log("Left panel title button: " + dialog._LeftPanel.getInsertButton().getContent());
As a result the console displays left panel button title:
Left panel button title: Insert
See also: