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

Function ng_SetStyleHeight

src/ng_basic/basic.js:1822–1826  ·  view source on GitHub ↗

* Function: ng_SetStyleHeight * Sets element height defined by style property. * * Syntax: * void *ng_SetStyleHeight* (object elm, int v) * * Parameters: * elm - object element * v - height in pixels * * Returns: * -

(o,v)

Source from the content-addressed store, hash-verified

1820 * -
1821 */
1822function ng_SetStyleHeight(o,v)
1823{
1824 if(typeof o.style.pixelHeight !== 'undefined') o.style.pixelHeight=v;
1825 else o.style.height=v+'px';
1826}
1827
1828/**
1829 * Function: ng_OuterWidth

Callers 3

ng_SetOuterHeightFunction · 0.85
ng_SetClientHeightFunction · 0.85
ngt_DoUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected