Skip to content

CodeMirrorEditor.getOption method

CodeMirrorEditor › getOption

Unofficial

Get the value of an editor option.

Signature:

getOption(option: string): unknown

Parameters:

ParameterTypeDescription
optionstringThe name of the option to get.

Returns: unknownThe option value.