Universeorange.com/Docs/

Priya library Function reference Element functions on

    ready(() => {
        let element = select('div');
        element.on('click', (event) => {
            console.log('clicked')
        });
});

On, an event which can be triggered with .trigger() method.

type : any of the following:

closure : a function which will be executed when the type of event is handled.

Last modified: 2021-06-07

© 2021 universeorange.com