import { ReactiveControllerHost } from 'lit'; import { BaseController } from './base.controller.js'; /** * Controller for reactive media query matching. * Automatically updates the host when the media query matches or unmatches. * * @example * ```ts * class MyComponent extends LitElement { * private mobile = new MatchMediaController(this, '(max-width: 768px)'); * private darkMode = new MatchMediaController(this, '(prefers-color-scheme: dark)'); * * render() { * return html` *