the for directive doesn't work #1775
Unanswered
zhangtianxiao
asked this question in
1. Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The for directive must be accompanied by a template tag,
when the for specification is created dynamically,
it doesn't work;
I find the innerHTML in these two ways is different, Hope to help you
`
let div = document.createElement('div');
`
Beta Was this translation helpful? Give feedback.
All reactions