getState()
gets current values/states of controls
getState(): object;
Returns:
An object with IDs of controls and their values/states.
Example
const state = ribbon.getState(); // -> {"search":"Hello","edit":true,"align":"right"}
Related sample: Ribbon. Get state