Pretender: {
    as: string | OriginalNode;
    selector: string;

Type declaration

  • Readonly as: string | OriginalNode

    If it is a string, it is resolved as an element name. An element has the same attributes as the pretended custom element because attributes are just inherited.

    If it is an Object, It creates the element by that.

  • Readonly selector: string

    Target node selectors

Generated using TypeDoc