ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
13 lines (12 loc) • 391 B
TypeScript
import { RanElement } from '@/utils/index';
export declare class Content extends RanElement {
observer: MutationObserver;
_shadowDom: ShadowRoot;
_slot: HTMLElement;
constructor();
callback: (mutations: MutationRecord[]) => void;
onChange: (mutation: MutationRecord) => void;
connectedCallback(): void;
disconnectedCallback(): void;
}
export default Content;