API Reference > imodeljs-markup > MarkupTools > DistanceTool > 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 markup/src/RedlineTool.ts Line 401 Last Updated: 11 June, 2024