UNPKG

atomico

Version:

Atomico is a small library for the creation of interfaces based on web-components, only using functions and hooks.

13 lines (9 loc) 246 B
import { SymbolFor } from "./utils.js"; const ID = SymbolFor("atomico/options"); globalThis[ID] = globalThis[ID] || { sheet: !!document.adoptedStyleSheets }; /** * @type {import("core").Options} */ export const options = globalThis[ID];