Closed cambiata closed 10 years ago
Feature.
Style is not accessed that way. I should probably remove the Attr.Style to remove this confusion.
You should be writing:
div.node.style.width = "100px";
See: https://github.com/Blank101/haxe-dom/blob/master/src/hxdom/html/CSSStyleDeclaration.hx
Ah, feature then..! :-) Fair!
Thank you!
Hi Sam!
I'm getting some unexpected result when trying to set styling info. When writing this:
var div = new EDiv(); div.attr(Attr.Style, 'width=100px;');
the resulting html is as follows:<div ... style="__s:width=100px;;length:12;">
Bug or feature? :-)
/ Jonas