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

Function fromUrl

packages/core/image-source/index.ios.ts:541–545  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

539}
540
541export function fromUrl(url: string): Promise<ImageSourceDefinition> {
542 console.log('fromUrl() is deprecated. Use ImageSource.fromUrl() instead.');
543
544 return ImageSource.fromUrl(url);
545}
546
547export function fromFileOrResource(path: string): ImageSource {
548 console.log('fromFileOrResource() is deprecated. Use ImageSource.fromFileOrResourceSync() instead.');

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
fromUrlMethod · 0.45

Tested by

no test coverage detected