-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: innerHTML #41
Comments
Can you give an example? |
I have an element div#modal. div#modal-header
div#modal-content
div#modal-footer But after some user actions I have to change this content. So, if i correctly understand, I have to change some variable and then div#modal will change it's innerHTML reactively |
usually I either put :if condition or :hidden flag. If you need whole html content to be taken from somewhere else either use :ref=el :fx=el.innerHTML=str, or :html=otherElement |
Ok. Thanx! |
Is there a directive or option to specify the inner html of an element if, for example, that "content" is stored in a global variable?
The text was updated successfully, but these errors were encountered: