@master/css-runtime
Version:
Run Master CSS right in the browser
11 lines (10 loc) • 430 B
TypeScript
import CSSRuntime from './core';
import type { Config } from '@master/css';
/**
* Initialize a new CSSRuntime instance and observe the target root
* @param config master css config
* @param root target root to observe
* @param autoObserve auto observe the target root
* @returns master css instance
*/
export default function initCSSRuntime(config?: Config, root?: Document | ShadowRoot, autoObserve?: boolean): CSSRuntime;