ractive.on()
edit this pageSubscribe to events.
ractive.on( eventName, handler )
Returns an
Objectwith acancelmethod, which removes the handler.eventName
StringThe name of the event to subscribe to
handler
FunctionThe function that will be called, with
ractiveasthis. The arguments depend on the event