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

Function load

packages/core/ui/builder/index.ts:168–172  ·  view source on GitHub ↗
(pathOrOptions: string | LoadOptions, context?: any)

Source from the content-addressed store, hash-verified

166 * @deprecated Use Builder.load() instead.
167 */
168export async function load(pathOrOptions: string | LoadOptions, context?: any): Promise<View> {
169 console.log('load() is deprecated. Use Builder.load() instead.');
170
171 return await Builder.load(pathOrOptions, context);
172}
173
174/**
175 * @deprecated Use Builder.createViewFromEntry() instead.

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected