SelectionInsert extension

on

Methods

insert(Union2<EachCallback<Element>, String> type, [Union2<EachCallback<Element?>, String>? before]) Selection
If the specified type is a string, inserts a new element of this type (tag name) before the first element matching the specified before selector for each selected element.