Forum Discussion
blumi78
8 years agoHelper I
Visual.update() not triggered when switching from Reading to Edit View
When switching from Edit to Reading View, Visual.update(options) is triggered and options.viewMode is set to 0. Vice versa, when switching back to Edit View, Visual.update() ist NOT triggered and th...
blumi78
8 years agoHelper I
already posted this in the "Service" board, but maybe it belongs here also:
When switching from Edit to Reading View, Visual.update(options) is triggered and options.viewMode is set to 0.
Vice versa, when switching back to Edit View, Visual.update() ist NOT triggered and therefore I can not react to this event.
In the upcoming calls to Visual.update (like on data change or resizing), options.viewMode is 1 as expected.
Related, the typedef of ViewMode is
const enum ViewMode {
View = 0,
Edit = 1,
InFocusEdit = 2,
}- but value 2 never occured in my occasions. What is "InFocusedEdit"?