How do I update a HTML element that isn't managed ...
# fritz2
n
How do I update a HTML element that isn't managed by Fritz2? For example I want to update the text in the title element.
b
document.getElementById
n
Is there a way to update a HTML element in a stateless way with a event handler without having to use a Store?
The
document.getElementById
function works fine outside the use of the Fritz2 APIs, but doesn't work with the event handling via a RootStore.
b
Do that in stores syncedBy handler
n
Haven't heard of that one before. It doesn't seem to be in the documentation.
Is there an example of
syncedBy
in action?
n
It doesn't work. End up with
NotImplementError
appearing every time I click on a link in the app while it is running.
Looks as though I have stumbled on a severe bug with event handling in Fritz2.