hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

selection-scope

Creates a temporary selection scope for executing commands.
Parameter
Type
Description
element
element
Element to select directly
global
selector
CSS selector to find element globally
parent
selector
CSS selector to find among parent elements
enclosing
selector
CSS selector to find enclosing element
first-child
selector
CSS selector to find among first children
last-child
selector
CSS selector to find among last children
first-descendant
selector
CSS selector to find first descendant
last-descendant
selector
CSS selector to find last descendant
next-sibling
selector
CSS selector to find among next siblings
previous-sibling
selector
CSS selector to find among previous siblings
return
type
Type to return from the scope (optional)
commands
commands
Commands to execute within the scope
return
void
Void