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

Method init

packages/core/ui/layouts/grid-layout/index.ios.ts:329–333  ·  view source on GitHub ↗
(density)

Source from the content-addressed store, hash-verified

327 }
328
329 public init(density): void {
330 this.measuredCount = 0;
331 this.currentMeasureToFixCount = 0;
332 this.length = this.rowOrColumn.isAbsolute ? this.rowOrColumn.value * density : 0;
333 }
334
335 public getAllMeasured(): boolean {
336 return this.measuredCount === this.children.length;

Callers 15

index.spec.tsFile · 0.45
getImageAsyncMethod · 0.45
createNativeViewMethod · 0.45
onMeasureMethod · 0.45
initListMethod · 0.45
_applyGlassEffectMethod · 0.45
initWithCallbackMethod · 0.45
onCreateFunction · 0.45
linkTapMethod · 0.45
getDateFunction · 0.45
positionSharedTagsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected