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
Angular 2 and jade #2223
Comments
I found that it works as it should with the &attributes syntax: input&attributes({"[(test1)]": "test1", "[(test2)]": "test2"}) But I really dislike that syntax. I am interested in a better alternative. |
You can either quote the attributes or use a comma: input("[(test1)]"="test1" "[(test2)]"="test2")
input([(test1)]="test1", [(test2)]="test2") Otherwise the attribute is interpreted as: "test1" [(test2)]="test2"
("test1" [(test2)])="test2"
("test1"[test2]) = "test2"
"test2" |
@TimothyGu Ahh thanks alot! |
I wonder, is it possible to improve the parser to support the good old spaces and no quoting with these new attributes? |
+1 |
It isn't, because |
I have an issue which somewhat makes me unable to combine Angular 2 and jade.
The following jade code
translates into
Does anyone know of a workaround?
The text was updated successfully, but these errors were encountered: