onmodechanged event (JavaScript API reference) for Dynamics 365 Channel Integration Framework 2.0

The onmodechanged event is invoked when the panel mode is manually toggled between Minimized (0), Docked (1), and Hidden (2).

eventData

The onmodechanged event takes the following eventData:

eventData Example
{"value": <number>} {"value": 0"}

setMode
getMode
addHandler
removeHandler