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

Function ng_GetStylePx2

src/ng_basic/basic.js:1601–1607  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

1599}
1600
1601function ng_GetStylePx2(p)
1602{
1603 p=ngVal(p,'');
1604 if(p=='') return;
1605 if((p.length>2)&&(p.substring(p.length-2)=='px')) p=ng_GetStylePx(p.substring(0,p.length-2));
1606 return p;
1607}
1608
1609function ng_GetStylePx(v)
1610{

Callers

nothing calls this directly

Calls 2

ngValFunction · 0.85
ng_GetStylePxFunction · 0.85

Tested by

no test coverage detected