UNPKG

@tempots/dom

Version:

Fully-typed frontend framework alternative to React and Angular

10 lines (9 loc) 401 B
import { TNode } from '../types/domain'; export interface ShadowRootOptions { mode: 'open' | 'closed'; delegatesFocus?: boolean; slotAssignment?: 'named' | 'manual'; clonable?: boolean; serializable?: boolean; } export declare function ShadowRoot({ mode, delegatesFocus, slotAssignment, clonable, serializable, }: ShadowRootOptions, ...children: TNode[]): import('..').Renderable;