UNPKG

radi

Version:

**Radi** is a tiny javascript framework.

14 lines (11 loc) 347 B
import Listener from './Listener'; /** * The listen function is used for dynamically binding a component property * to the DOM. Also commonly imported as 'l'. * @param {Component} component * @param {...string} path * @returns {Listener} */ const listen = (component, ...path) => new Listener(component, ...path); export default listen;