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

Function ng_GetStylePx

src/ng_basic/basic.js:1609–1616  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1607}
1608
1609function ng_GetStylePx(v)
1610{
1611 var tv=typeof v;
1612 if(tv==='number') return v;
1613 if((v=='')||(tv==='undefined')) return 0;
1614 v=parseInt(v,10);
1615 return (isNaN(v) ? 0 : v);
1616}
1617
1618/**
1619 * Function: ng_GetCurrentStyle

Callers 14

ng_GetStylePx2Function · 0.85
ng_GetCurrentStylePxFunction · 0.85
ng_StyleWidthFunction · 0.85
ng_StyleHeightFunction · 0.85
ng_OuterWidthFunction · 0.85
ng_OuterHeightFunction · 0.85
ng_ClientWidthFunction · 0.85
ng_ClientHeightFunction · 0.85
ngc_CreateFunction · 0.85
ngt_DoUpdateFunction · 0.85
ngb_DoUpdateFunction · 0.85
nge_DoUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected