Skip to content

Expose a method to update the initialized tree #22

@m-sureshraj

Description

@m-sureshraj
const node = document.querySelector('.foo');
const options = { data: {}, theme: 'darcula' };

const dt = new DomTree(options, node);
dt.init();

dt.update({ theme: 'one-dark' });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions