calling focusView with Web Author
Posted: Fri Oct 26, 2018 11:14 am
Hello
I am trying to automagically expand the Validation side view after opening Web Author.
I am calling workspace.getViewManager().focusView('validation-panel-table') in my plugin.js but I get error
"workspace-22991562a3.js:3699 Uncaught TypeError: Cannot read property 'focus' of undefined
at sync.view.WorkspaceViewManager.focusView"
After the Editor is loaded I can call workspace.getViewManager().focusView('validation-panel-table') in browser console the Validation side view is expanded.
What is the proper place to call focusView? Is there another way to expand Validation side view?
Thanks,
Manu
I am trying to automagically expand the Validation side view after opening Web Author.
I am calling workspace.getViewManager().focusView('validation-panel-table') in my plugin.js but I get error
"workspace-22991562a3.js:3699 Uncaught TypeError: Cannot read property 'focus' of undefined
at sync.view.WorkspaceViewManager.focusView"
After the Editor is loaded I can call workspace.getViewManager().focusView('validation-panel-table') in browser console the Validation side view is expanded.
What is the proper place to call focusView? Is there another way to expand Validation side view?
Thanks,
Manu