itwinjs-core icon indicating copy to clipboard operation
itwinjs-core copied to clipboard

Check BeBuutonEvent point is valid or not

Open abhijitpatil181171 opened this issue 2 years ago • 1 comments

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/

abhijitpatil181171 avatar Aug 23 '23 05:08 abhijitpatil181171

if (ev.viewport?.iModel === myIModel)

If further help is needed please explain what you are trying to accomplish.

pmconne avatar Aug 23 '23 07:08 pmconne