-
Notifications
You must be signed in to change notification settings - Fork 22
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
Elt.WithAttrs not found in JavaScript #181
Comments
|
|
My first impression on this is that given how attributes are implemented on the client side, I think adding one to an existing element would be pretty non-trivial. I'm not certain it can be done without adding an extra That being said, I hope I'm wrong and this can actually be done at no extra cost; I'll look into it. |
Thanks for looking into it. I appreciate it. What I really meant to say is: not adding an attribute to an existing Elt but creating another Elt instance with the added attributes.
Hopefully, that would not impact performance, we would not want that. BTW, great job! |
Just a couple of issues:
1.-
Elt.WithAttrs
gives message:Method name not found in JavaScript compilation: (WithAttrs : ...
2.-
Elt.AddClass
adds an extra space thatElt.RemoveClass
does not removehttp://try.websharper.com/snippet/user3359/0000Lb
The text was updated successfully, but these errors were encountered: