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

Function fromData

packages/core/image-source/index.ios.ts:517–521  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

515}
516
517export function fromData(data: any): ImageSource {
518 console.log('fromData() is deprecated. Use ImageSource.fromDataSync() instead.');
519
520 return ImageSource.fromDataSync(data);
521}
522
523export function fromFontIconCode(source: string, font: Font, color: Color): ImageSource {
524 console.log('fromFontIconCode() is deprecated. Use ImageSource.fromFontIconCodeSync() instead.');

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
fromDataSyncMethod · 0.45

Tested by

no test coverage detected