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

Function right

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

Source from the content-addressed store, hash-verified

13 return round(dipToDp(view.getLocationInWindow().y));
14}
15export function right(view: View): number {
16 return left(view) + width(view);
17}
18export function bottom(view: View): number {
19 return top(view) + height(view);
20}

Calls 2

leftFunction · 0.85
widthFunction · 0.70

Tested by

no test coverage detected