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

Method getPopup

apps/toolbox/src/pages/root-layout.ts:111–120  ·  view source on GitHub ↗
(color: string, size: number, offset: number)

Source from the content-addressed store, hash-verified

109 }
110
111 getPopup(color: string, size: number, offset: number): View {
112 const layout = new StackLayout();
113 layout.height = size;
114 layout.width = size;
115 layout.marginTop = offset;
116 layout.marginLeft = offset;
117 layout.backgroundColor = color;
118 layout.borderRadius = 10;
119 return layout;
120 }
121}

Callers 1

RootLayoutModelClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected