hyTags
HomeHome DocumentationDocumentation

selection-get-fragment

Gets the selected element and its associated event handlers as a fragment.
Parameter
Type
Description
return
fragment
Fragment containing the element and event handlers
Test Case:Get selection as fragment
    <div></div>
    
    <selection-get-fragment>
    
    👆 Try to change something!
  • Test succeeded Test failed