Console
hyTags
Home
Home
Documentation
Documentation
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>
<div></div>
<selection-get-fragment>
<selection-get-fragment>
👆 Try to change something!
Live preview
Run
Array
Assert
Attribute
Bool
Class
Closure
Cookie
Data
Date
DateTime
Debug
Element
Error
Event
Form
Fragment
Function
If
Input
Items
Javascript
Loop
Number
Object
Page
Property
Rect
Request
Response
Selection
Storage
String
Style
Time
Url
Value
Var
Window
Quick Reference
Test succeeded
Test failed