AngularTS
    Preparing search index...

    Variable SwapModeConst

    SwapMode: {
        afterbegin: "afterbegin";
        afterend: "afterend";
        beforebegin: "beforebegin";
        beforeend: "beforeend";
        delete: "delete";
        innerHTML: "innerHTML";
        none: "none";
        outerHTML: "outerHTML";
        textContent: "textContent";
    } = ...

    Possible values for data-swap and realtime protocol swap fields.

    Type Declaration

    • Readonlyafterbegin: "afterbegin"

      Inserts HTML inside the element, before its first child

    • Readonlyafterend: "afterend"

      Inserts HTML immediately after the element itself

    • Readonlybeforebegin: "beforebegin"

      Inserts HTML immediately before the element itself

    • Readonlybeforeend: "beforeend"

      Inserts HTML inside the element, after its last child

    • Readonlydelete: "delete"

      Removes the element entirely

    • ReadonlyinnerHTML: "innerHTML"

      (default) Replaces the contents inside the element

    • Readonlynone: "none"

      Performs no insertion (no-op)

    • ReadonlyouterHTML: "outerHTML"

      Replaces the entire element, including the tag itself

    • ReadonlytextContent: "textContent"

      Inserts plain text (without parsing HTML)