API Reference > imodeljs-frontend > Rendering > CanvasDecoration > onWheel onWheel MethodOptional Optional method to be called when the mouse wheel is rolled with the pointer over this decoration. onWheel(ev: BeWheelEvent): boolean Parameter Type Description ev BeWheelEvent Returns - boolean true to indicate that the event has been handled and should not be propagated to default handler Defined in core/frontend/src/render/CanvasDecoration.ts Line 57 Last Updated: 13 June, 2024