Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17926

Visual.update() not triggered when switching from Reading to Edit View

$
0
0

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"?


Viewing all articles
Browse latest Browse all 17926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>