API Reference > imodeljs-frontend > Tools > FitViewTool > onDataButtonDown onDataButtonDown Method Invoked when the data button is pressed. onDataButtonDown(ev: BeButtonEvent): Promise<EventHandled> Parameter Type Description ev BeButtonEvent Returns - Promise<EventHandled> No by default. Sub-classes may ascribe special meaning to this status. Defined in core/frontend/src/tools/ViewTool.ts Line 3138 Last Updated: 11 June, 2024