mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* refactor(image-source): throw if source is not a correct native instance * refactor(image-source): fromNativeSource and setNativeSource methods * refactor: update image-source.d.ts file BREAKING CHANGE: Change the return type of `setNativeSource` method from `boolean` to `void`.
Contains the ImageSource class, which encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images.