-
I'd like to capture the event of "tab switch" in script, seems noteSwitched, activeContextChanged is not working for this case. how to capture some event when I switch the tab? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
zadam
Nov 25, 2022
Replies: 1 comment 1 reply
-
Custom widgets can listen to events, the method handlers need to be called with class WordCountWidget extends api.NoteContextAwareWidget {
...
activeContextChangedEvent() {
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fooyoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Custom widgets can listen to events, the method handlers need to be called with
Event
suffix - e.g.: