2.0.1 • Published 10 months ago
theme-status-plugin v2.0.1
theme-status-plugin
plugin for CapacitorJs checking if device is in dark theme
Install
npm install theme-status-plugin
npx cap sync
API
isDarkMode(...)
isDarkMode(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>