Skip to content

How can I connect trame-Xterm functionality with trame-router? #562

Answered by jourdain
proy30 asked this question in Q&A
Discussion options

You must be logged in to vote

I think I see what could be happening. So the main issue is that when you use the router view, the component (xterm) is not always there. So when methods are called onto the component while it is not mounted, nothing happens. And then when it finally mount, those settings are lost (since they are not part of the properties). In term of solution. You could either call those methods again at mount time or update the component to expose those as properties.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@proy30
Comment options

@jourdain
Comment options

Answer selected by proy30
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