hyTags
HomeHome DocumentationDocumentation

selection-insert-after

Inserts a fragment as siblings after the selected element.
Parameter
Type
Description
fragment
Fragment
Fragment to insert after the element
return
void
Void
Test Case:Append siblings after element
    <div></div>
    
    <fragment-from-string value="<span>sibling</span>">
    <selection-insert-after></selection-insert-after>
    
    👆 Try to change something!
  • Test succeeded Test failed