
Contributor II
2018-06-04
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Divergence in the $element.height() value in the paint method
Hi,
I'm creating an extension and I need the height value so I can create the object according to the size of the component.
However, the $ element.height () value is sometimes returned by considering the header, and sometimes not considering.
Can anyone tell me what might be happening?
PS: Code that I get value.
var vHeight = $element.height();
641 Views
1 Reply


Master
2018-06-06
09:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sounds very strange. $element (that is the jQuery wrapper you get as a parameter to the paint method) should always be without the object title, subtitle etc, which the framework renders for you. In what situations do you get something else??
Erik Wetterberg
574 Views
