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

Method onLayout

packages/core/ui/core/view/index.android.ts:948–953  ·  view source on GitHub ↗
(left: number, top: number, right: number, bottom: number)

Source from the content-addressed store, hash-verified

946 }
947
948 public onLayout(left: number, top: number, right: number, bottom: number): void {
949 const view = this.nativeViewProtected;
950 if (view) {
951 this.layoutNativeView(left, top, right, bottom);
952 }
953 }
954
955 _getCurrentLayoutBounds(): Position {
956 if (this.nativeViewProtected && !this.isCollapsed) {

Callers 1

layoutMethod · 0.95

Calls 1

layoutNativeViewMethod · 0.95

Tested by

no test coverage detected