Skip to content

CodeMirrorEditor.getOption method

CodeMirrorEditor › getOption

Unofficial

Get the value of an editor option.

Signature:

getOption(option: string): unknown

Parameters:

Parameter Type Description
option string The name of the option to get.

Returns: unknownThe option value.