Interface IFactory

A bound factory function for a specific h() tag.

interface IFactory {
    (...children): VirtualElement;
    (attrs, ...children): VirtualElement;
    (renderer, ...children): VirtualElement;
    (attrs, renderer, ...children): VirtualElement;
}