Universeorange.com/Docs/

Priya library Function reference Element functions hasClass

    ready(() => {
        let element = select('#root');
        console.log(element.hasClass('selected'));
    });

This function returns true on success, false on failure of having a class selected in this case.

Last modified: 2021-06-07

© 2021 universeorange.com