MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / height

Function height

apps/automated/src/ui/layouts/layout-tests-helper.ts:22–24  ·  view source on GitHub ↗
(view: View)

Source from the content-addressed store, hash-verified

20}
21
22export function height(view: View): number {
23 return round(dipToDp(view.getActualSize().height));
24}
25
26export function width(view: View): number {
27 return round(dipToDp(view.getActualSize().width));

Calls 1

roundFunction · 0.50

Tested by

no test coverage detected