Module

utils/dom/insertat

@ckeditor/ckeditor5-utils/src/dom/insertat

module

Filtering

Functions

  • insertAt( parentElement, index, nodeToInsert ) → void

    Inserts node to the parent at given index.

    Parameters

    parentElement : Element

    Parent element.

    index : number

    Insertions index.

    nodeToInsert : Node

    Node to insert.

    Returns

    void