Skip to content
Discussion options

You must be logged in to vote

Looking at the docs I realized mount is used to dynamically add a widget, but I don't want to add a widget, I just want to dynamically change the value of an existing widget with the ID "header".

It looks like you searched for and read about the mount method; I actually linked you to the Mount event, which is a different thing altogether.

More generally though, looking at what you're trying to do, I think you might be unclear about how a Textual application works. By the time the run method of your app has completed the application has finished running.

I'm starting to suspect that your question has nothing to do with how to query the DOM and you're looking for advice on how to handle c…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@davep
Comment options

@Yogesh7920
Comment options

@davep
Comment options

Answer selected by Yogesh7920
@Yogesh7920
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants