j-AutoDarkMode
- singleton
- readonly
The component automatically applies dark mode according to the operation system.
Configuration:
exec {String}optional, a link to thefunction(is_darkmode)
Use it with <ui-component name="autodarkmode">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<ui-component name="autodarkmode"></ui-component>