MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / onLoaded

Function onLoaded

packages/core/ui/core/view-base/index.ts:713–730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

711
712 @profile
713 public onLoaded() {
714 this.setFlag(Flags.superOnLoadedCalled, true);
715 if (this._isLoaded) {
716 return;
717 }
718
719 this._isLoaded = true;
720 this._cssState.onLoaded();
721 this._resumeNativeUpdates(SuspendType.Loaded);
722
723 this.eachChild((child) => {
724 this.loadView(child);
725
726 return true;
727 });
728
729 this._emit('loaded');
730 }
731
732 @profile
733 public onUnloaded() {

Callers

nothing calls this directly

Calls 4

loadViewMethod · 0.80
_emitMethod · 0.80
onLoadedMethod · 0.45
eachChildMethod · 0.45

Tested by

no test coverage detected