mirror of https://github.com/adamdruppe/arsd.git
for easier inner html creations
This commit is contained in:
parent
c2176c3d36
commit
ed579fd978
7
dom.d
7
dom.d
|
|
@ -3746,6 +3746,13 @@ class DocumentFragment : Element {
|
||||||
super(_parentDocument);
|
super(_parentDocument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///
|
||||||
|
this(Html html) {
|
||||||
|
this(null);
|
||||||
|
|
||||||
|
this.innerHTML = html.source;
|
||||||
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
override string writeToAppender(Appender!string where = appender!string()) const {
|
override string writeToAppender(Appender!string where = appender!string()) const {
|
||||||
return this.innerHTML(where);
|
return this.innerHTML(where);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue