all
all
(
Node
)
Extends existing Y.Node.all to take no argument and return all the immediate
children as a NodeList. This essentially makes nodeInstance.all() a synonym
for nodeInstane.get('children')
- Parameters:
-
Node <string|Y.Node>
The selector to be passed to the underlying all implementation
one
one
(
node
)
Extends existing Y.Node.one to take no argument and return the immediate
child of the current node.
- Parameters:
-
node <string|Y.Node>
The node or selector to search for
wrapInner
void
wrapInner
(
The
)
Wraps the content of this Node with new HTML
- Parameters:
-
The <string | Y.Node | DOMNode>
HTML Fragment to wrap around the contents of the current node.
- Returns:
void
Chainable: This method is chainable.