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
Add prepend methods to Element in dart:html #7500
Comments
Added this to the M4 milestone. |
Removed this from the M4 milestone. |
This comment was originally written by george.moscho...@gmail.com That would be very useful! |
Set owner to @efortuna. |
Removed Area-HTML label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This seems fairly trivial Removed the owner. |
Also insertAdjacentHtml('afterBegin', node) |
I don't think this is difficult enough for the user to be worth including, seeing as @alan-knight's implementation is wrong (when childNodes is empty). |
This issue was originally filed by @tomaszkubacki
[feature request]
Add prepend methods to reflect jquery functionality.
Please add following methods to Element in dart:html
void prepend(Element e)
Adds the specified element before the first child of this element.
void prependHtml(String text)
Parses the specified text as HTML and adds the resulting node before the first child of this element.
The text was updated successfully, but these errors were encountered: