itwinjs-core
itwinjs-core copied to clipboard
Check BeBuutonEvent point is valid or not
how to check point coming from BeButtonEvent is from given imodel or not?
⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking
- LINK: BeButtonEvent---core-frontend-link-to-docs
- TAG: imodeljs-docs-question
- SOURCE: https://www.itwinjs.org/reference/core-frontend/tools/bebuttonevent/
if (ev.viewport?.iModel === myIModel)
If further help is needed please explain what you are trying to accomplish.