ractive.findComponent()

edit this page

Returns the first component inside a given Ractive instance with the given name (or the first component of any kind if no name is given).

ractive.findComponent( name )

Returns a component instance (which ultimately inherits from Ractive)

name String

The name of the component to find

ractive.findComponent()

Returns the first component instance of any kind