getMode method

dynamic getMode()

Gets the (outer) mode object for the editor. Note that this is distinct from getOption("mode"), which gives you the mode specification, rather than the resolved, instantiated mode object.

The returned mode is a JsObject.

Implementation

dynamic getMode() => call('getMode');