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

Function imageLoaded

packages/core/ui/image/image-common.ts:54–61  ·  view source on GitHub ↗
(source: ImageSource)

Source from the content-addressed store, hash-verified

52 this.isLoading = true;
53
54 const imageLoaded = (source: ImageSource) => {
55 const currentValue = this.src;
56 if (currentValue !== originalValue) {
57 return;
58 }
59 this.imageSource = source;
60 this.isLoading = false;
61 };
62
63 if (isFontIconURI(value)) {
64 const fontIconCode = value.split('//')[1];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected