getModeState()
Use this method to retrieve the state of the current mode.
This feature is supported only for Document builder mode. When you call this method, a JSON payload is returned that represents the current state of the recipe that was constructed from the actions performed on the loaded document.
Sample syntax
ViewONE.getModState();