Admin app demo, get some value in other js

Hi,
I try to get value corresponding to “My Calendar” in profile header submenu. I have added link and badge to menu like this :

http://webix.com/snippet/53a6cd96

But How I can get the number of “My Calendar” and push it to “bage” ?
thx

Perhaps it will be better to set the badge node and the actual value separately.

http://webix.com/snippet/0a88f225

Every time you switch to the needed page, it is re-initializing from the original state. As for the value (or state) storage, I suggest you defining an additional module.