Skip to content

Updating the DOM and rendering the result #69

@abhijitnandy2011

Description

@abhijitnandy2011

Hi,

Browsers allow the DOM to be updated through JS through code like

document.write(Date())
document.getElementById(id).innerHTML = new HTML etc

Does litehtml have the DOM in memory, that it used to render the html document? If so, then can it be updated on the fly and just the changed part re-rendered?

For example if I want to change some text shown within the h1 tags at runtime, then could I retrieve it in C++ by using some sort of ID and update the text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions