Tuesday, December 3, 2013

Get a style's value in Dojo.

If you make "dojo/dom-style" match up to domStyle at the AMD define signature, you could do the following with domStyle:

var tallness = domStyle.get(this.whatever, "height");

No comments:

Post a Comment