onPreButtonEvent MethodProtected
Application sub-classes can override this method to intercept button events before they are sent to the active tool. An example use for this event would be to implement a shift + right-click or right-press menu.
onPreButtonEvent(_ev: BeButtonEvent): boolean
@returns true if event was handled and should not propagate to the active tool.
Parameter | Type | Description |
---|---|---|
_ev | BeButtonEvent |
Returns - boolean
true if event was handled and should not propagate to the active tool.
Defined in
- core/frontend/src/tools/ToolAdmin.ts Line 1288
Last Updated: 07 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.