Closed YashodipD closed 10 months ago
Thanks for the report, we'll look into this!
Hi @YashodipD, I updated the documentation and the page now have links to the relevant documentation, which should give the proper information that the FrameworkToolAdmin
is required and where it should be used. That should give information for web-viewer as well, as the user should start from AccuDrawKeyboardShortcuts
regardless. Let us know if that seems correct!
In ui/appui-react/src/appui-react/tools/FrameworkToolAdmin.ts
this file , we mentioned about setting focus to Home. I did not see anywhere written how do we do it. I know we do it using esc
however how will newcomer/outsider will know about it.
setFocusToHome
is a method on UiFramework.keyboardShortcuts
, which is linked there, I think that should be enough.
Looking good, Thank you!
I found out we cannot show AccuDrawKeyboardShortcuts without passing an instance of FrameworkToolAdmin to toolAdmin prop of viewer. It is not mentioned anywhere in the docs.
Add note at the end of this page - https://www.itwinjs.org/reference/appui-react/accudraw/accudrawkeyboardshortcuts/
Add more details related to this in the description of - https://www.npmjs.com/package/@itwin/web-viewer-react