scala-js/scala-js-dom

HTMLElement's style property

Peluko opened this issue · 1 comments

Hello.

The HTMLElement class in Html.scala doesn't defines the style property.
I've added it as

var style: CSSStyleDeclaration = ???

and it seems to be working by now. Is there any reason why it has been left out?

No reason; it probably was missed when I scraped/translated the code the
first time. Send a PR with a link to MDN and i'll merge it

On Mon, Dec 30, 2013 at 3:35 PM, Peluko notifications@github.com wrote:

Hello.

The HTMLElement class in Html.scala doesn't defines the stylehttps://developer.mozilla.org/en-US/docs/Web/API/HTMLElement.styleproperty.
I've added it as

var style: CSSStyleDeclaration = ???

and it seems to be working by now. Is there any reason why it has been
left out?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.