ractive.find()
edit this pageReturns the first element inside a given Ractive instance matching a CSS selector. This is similar to doing this.el.querySelector(selector)
(though it doesn't actually use querySelector()
).
ractive.find( selector )
Returns a
Node
selector
String
A CSS selector representing the element to find