hyperapp-html
Version:
Html helpers for hyperapp `h`
1,206 lines (1,102 loc) • 43.4 kB
TypeScript
export as namespace hyperappHtml
import { VNode } from "hyperapp"
/** Helper function that call `h` to return a a virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function a<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function a(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a abbr virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function abbr<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function abbr(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a address virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function address<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function address(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a area virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function area<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function area(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a article virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function article<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function article(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a aside virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function aside<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function aside(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a audio virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function audio<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function audio(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a b virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function b<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function b(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a bdi virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function bdi<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function bdi(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a bdo virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function bdo<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function bdo(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a blockquote virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function blockquote<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function blockquote(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a br virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function br<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function br(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a button virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function button<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function button(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a canvas virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function canvas<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function canvas(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a caption virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function caption<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function caption(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a cite virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function cite<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function cite(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a code virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function code<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function code(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a col virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function col<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function col(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a colgroup virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function colgroup<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function colgroup(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a data virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function data<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function data(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a datalist virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function datalist<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function datalist(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a dd virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function dd<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function dd(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a del virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function del<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function del(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a details virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function details<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function details(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a dfn virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function dfn<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function dfn(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a dialog virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function dialog<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function dialog(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a div virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function div<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function div(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a dl virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function dl<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function dl(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a dt virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function dt<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function dt(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a em virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function em<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function em(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a embed virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function embed<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function embed(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a fieldset virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function fieldset<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function fieldset(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a figcaption virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function figcaption<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function figcaption(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a figure virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function figure<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function figure(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a footer virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function footer<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function footer(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a form virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function form<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function form(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h1 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h1<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h1(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h2 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h2<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h2(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h3 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h3<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h3(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h4 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h4<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h4(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h5 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h5<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h5(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a h6 virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function h6<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function h6(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a header virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function header<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function header(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a hr virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function hr<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function hr(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a i virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function i<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function i(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a img virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function img<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function img(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a input virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function input<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function input(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a ins virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function ins<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function ins(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a kbd virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function kbd<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function kbd(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a label virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function label<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function label(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a legend virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function legend<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function legend(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a li virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function li<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function li(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a main virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function main<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function main(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a map virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function map<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function map(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a mark virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function mark<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function mark(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a menu virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function menu<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function menu(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a menuitem virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function menuitem<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function menuitem(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a meter virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function meter<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function meter(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a nav virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function nav<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function nav(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a object virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function object<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function object(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a ol virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function ol<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function ol(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a optgroup virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function optgroup<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function optgroup(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a option virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function option<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function option(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a output virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function output<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function output(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a p virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function p<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function p(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a param virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function param<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function param(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a pre virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function pre<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function pre(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a progress virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function progress<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function progress(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a q virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function q<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function q(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a rp virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function rp<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function rp(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a rt virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function rt<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function rt(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a rtc virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function rtc<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function rtc(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a ruby virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function ruby<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function ruby(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a s virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function s<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function s(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a samp virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function samp<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function samp(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a section virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function section<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function section(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a select virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function select<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function select(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a small virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function small<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function small(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a source virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function source<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function source(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a span virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function span<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function span(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a strong virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function strong<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function strong(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a sub virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function sub<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function sub(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a summary virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function summary<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function summary(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a sup virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function sup<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function sup(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a svg virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function svg<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function svg(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a table virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function table<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function table(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a tbody virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function tbody<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function tbody(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a td virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function td<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function td(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a textarea virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function textarea<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function textarea(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a tfoot virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function tfoot<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function tfoot(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a th virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function th<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function th(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a thead virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function thead<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function thead(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a time virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function time<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function time(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a tr virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function tr<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function tr(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a track virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function track<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function track(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a u virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function u<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function u(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a ul virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function ul<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function ul(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a video virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function video<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function video(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a vvar virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function vvar<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function vvar(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>
/** Helper function that call `h` to return a wbr virtual node
* @param props Any valid HTML atributes, events, styles, and meta data
* @param children The children of the virtual node
*/
export function wbr<Props = {}>(
props?: Props,
children?: string | number | Array<string | number | VNode<{}>>
): VNode<Props>
export function wbr(
children?: string | number | Array<string | number | VNode<{}>>
): VNode<{}>