I was missing the setTimeout-function.
Search found 2 matches
Search found 2 matches • Page 1 of 1
- Fri Oct 26, 2018 11:14 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: calling focusView with Web Author
- Replies: 2
- Views: 1266
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...