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

Function ng_EndMeasureElement

src/ng_basic/basic.js:1715–1730  ·  view source on GitHub ↗

* Function: ng_EndMeasureElement * Finishes element dimension measurement. * Restores display states of parent object if modified. * * Syntax: * void *ng_EndMeasureElement* (object elm) * * Parameters: * elm - object element * * Returns: * - * * See also:

(o)

Source from the content-addressed store, hash-verified

1713 * <ng_BeginMeasureElement>
1714 */
1715function ng_EndMeasureElement(o)
1716{
1717 if((o)&&(typeof o.measure_info !== 'undefined'))
1718 {
1719 var undefined;
1720 var arr=o.measure_info;
1721 o.measure_info=undefined; // cannot delete - not supported in IE<=7
1722
1723 var p;
1724 for (var i = (arr.length - 1); i >= 0; i--)
1725 {
1726 p=arr[i];
1727 if((p)&&(p.style)) p.style.display = 'none';
1728 }
1729 }
1730}
1731
1732/**
1733 * Function: ng_GetCurrentStylePx

Callers 15

ng_OuterWidthFunction · 0.85
ng_OuterHeightFunction · 0.85
ng_ClientWidthFunction · 0.85
ng_ClientHeightFunction · 0.85
ngmn_DoPopupFunction · 0.85
ngmn_PopupFunction · 0.85
ngmn_PopupCtrlFunction · 0.85
ngmn_PopupSubMenuFunction · 0.85
ngap_UpdateFunction · 0.85
ngc_UpdateFunction · 0.85
ngb_DoUpdateFunction · 0.85
nge_DropDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected