can.$
Make a library's nodelist.
can.$(element)
Parameters
-
element
{String | Element | NodeList}
The selector, HTML element, or nodelist to pass to the underlying library.
Returns
{NodeList}
The nodelist as constructed by the underlying library.
can.$(element)
returns the the underlying library's NodeList. It can be passed a css selector, a HTMLElement or an array of HTMLElements.The following lists how the NodeList is created by each library:
jQuery( HTMLElement )
Zepto( HTMLElement )
new dojo.NodeList( HTMLElement )
$$( HTMLElement )
Y.all(selector)
orY.NodeList