Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface H

Contains all valid method signatures for the h function.

Hierarchy

  • H

Callable

  • Contains all valid method signatures for the h function.

    Parameters

    • selector: string

      Contains the tagName, id and fixed css classnames in CSS selector format. It is formatted as follows: tagname.cssclass1.cssclass2#id.

    • Optional properties: VNodeProperties

      An object literal containing properties that will be placed on the DOM node.

    • Rest ...children: VNodeChild[]

      Virtual DOM nodes and strings to add as child nodes. children may contain VNodes, strings, nested arrays, null and undefined. Nested arrays are flattened, null and undefined are removed.

    Returns VNode

    A VNode object, used to render a real DOM later.

  • Contains all valid method signatures for the h function.

    Parameters

    Returns VNode

Generated using TypeDoc