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

Function bottom

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

Source from the content-addressed store, hash-verified

16 return left(view) + width(view);
17}
18export function bottom(view: View): number {
19 return top(view) + height(view);
20}
21
22export function height(view: View): number {
23 return round(dipToDp(view.getActualSize().height));

Calls 2

topFunction · 0.85
heightFunction · 0.70

Tested by

no test coverage detected