clear() Last updated Save as PDF JavaScript API Reference/Ab.view.Component object clear() Clear the control content. Actual implementation varies from one control to another. Parameters: none Example: Clear the content of the project report: this.projectReport.clear();