I have a React Apllication and integrated Autodesk forge viewer. I have a markup extension for viewer and its work correctly without React. When i try to add extension to React viewer, extensions functions are loaded not fully (all functions beside onToolbarCreated). I need to know where i must include extensions javascript file and why onToolbarcreated function is not loaded?
i got this error in console`
A few things to check here:
onToolbarCreated
is only effective when using Viewer v7 or laterAutodesk.Viewing.TOOLBAR_CREATED_EVENT
event is fired