rynex
Version:
A minimalist TypeScript framework for building reactive web applications with no virtual DOM
68 lines • 1.86 kB
TypeScript
/**
* Rynex Semantic Elements
* Semantic HTML5 elements
*/
import { DOMProps, DOMChildren } from '../dom.js';
/**
* Header section
*/
export declare function header(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Footer section
*/
export declare function footer(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Navigation
*/
export declare function nav(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Main content
*/
export declare function main(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Section
*/
export declare function section(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Article
*/
export declare function article(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Aside/Sidebar
*/
export declare function aside(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Figure with caption
*/
export declare function figure(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Figure caption
*/
export declare function figcaption(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Time element
*/
export declare function time(props: DOMProps & {
datetime?: string;
}, ...content: DOMChildren[]): HTMLTimeElement;
/**
* Address element
*/
export declare function address(props: DOMProps, ...children: DOMChildren[]): HTMLElement;
/**
* Details disclosure
*/
export declare function details(props: DOMProps & {
open?: boolean;
}, ...children: DOMChildren[]): HTMLDetailsElement;
/**
* Details summary
*/
export declare function summary(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Dialog element
*/
export declare function dialog(props: DOMProps & {
open?: boolean;
}, ...children: DOMChildren[]): HTMLDialogElement;
//# sourceMappingURL=semantic.d.ts.map