MCPcopy Create free account
hub / github.com/controlsjs/controls.js / ng_StyleHeight

Function ng_StyleHeight

src/ng_basic/basic.js:1783–1786  ·  view source on GitHub ↗

* Function: ng_StyleHeight * Gets element height defined by style property. * * Syntax: * int *ng_StyleHeight* (object elm) * * Parameters: * elm - object element * * Returns: * Height in pixels.

(o)

Source from the content-addressed store, hash-verified

1781 * Height in pixels.
1782 */
1783function ng_StyleHeight(o)
1784{
1785 return (typeof o.style.pixelHeight !== 'undefined' ? ng_GetStylePx(o.style.pixelHeight) : ng_GetStylePx(o.style.height));
1786}
1787
1788/**
1789 * Function: ng_SetStyleWidth

Callers 13

ng_ClientHeightFunction · 0.85
ngl_DoUpdateFunction · 0.85
ngap_UpdateFunction · 0.85
ngdp_DoUpdateFunction · 0.85
ngc_CreateFunction · 0.85
ngt_DoUpdateFunction · 0.85
ngi_DoUpdateFunction · 0.85
ngimgmap_DoUpdateFunction · 0.85
ngb_DoUpdateFunction · 0.85
nge_DoUpdateFunction · 0.85
ngtb_UpdateFunction · 0.85
npb_DoUpdateFunction · 0.85

Calls 1

ng_GetStylePxFunction · 0.85

Tested by

no test coverage detected