ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
24 lines (23 loc) • 764 B
TypeScript
import { EventManager } from '@/utils/builder';
import { RanElement } from '@/utils/index';
export declare class Section extends RanElement {
_shadowDom: ShadowRoot;
_headerEl: HTMLDivElement;
_headingEl: HTMLDivElement;
_subtitleEl: HTMLDivElement;
_events: EventManager;
static get observedAttributes(): string[];
constructor();
get heading(): string;
set heading(value: string);
get subtitle(): string;
set subtitle(value: string);
get sheet(): string;
set sheet(value: string);
private _syncHeading;
private _syncSubtitle;
connectedCallback(): void;
disconnectedCallback(): void;
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
}
export default Section;