Skip to content

Cm5Editor.hasFocus method

Cm5Editor › hasFocus

Unofficial

Tells whether the editor currently has focus.

Signature:

hasFocus(): boolean

Returns: booleantrue if the editor has focus.