Universeorange.com/Docs/

Priya library Function reference Element functions html

    ready(() => {
        let element = select('#root');
        element.html('<h1>Hello World!</h1>');
        console.log(element.html());
        console.log(element.html(true));
    });

This function set or gets the html of an element.
When attribute is true, the outerHtml (including its parent) is returned.

Last modified: 2021-06-07

© 2021 universeorange.com