Properties
docElement :HTMLElement
#
The element, which is used to determine whether the skin is in dark mode.
Type:
- Source:
editor :Editor|null
#
null
#
extensionRegistry :CodeMirrorExtensionRegistry
#
isDark :boolean
#
matchMediaQuery :MediaQueryList
#
A MediaQueryList that matches if the user has set their OS-level color scheme preference to dark.
Type:
- Source:
A MediaQueryList that matches if the user has set their OS-level color scheme preference to dark.
preferences :CodeMirrorPreferences
#
themeFacet :Facetstatic
#
The name of the applied theme, as CodeMirrorThemes#setLightOrDarkMode adds it to the
theme's Extension. A theme is otherwise a set of styles, which say nothing to an integration
that renders no CodeMirror of its own.
Type:
- Source:
The name of the applied theme, as CodeMirrorThemes#setLightOrDarkMode adds it to the
theme's Extension.
Methods
destroy()
#
Stop watching for dark mode changes.
- Source: