docs-v7
docs-v7 copied to clipboard
Properties width and height are required for Image (on iOS)
ping @tjvantoll The documentation (and the cookbook) should state that width and height are required when using Image (for the iOS platform).
Hey @pmz,
Yep, agreed. The cookbook is being deprecated in favor of our code samples (which don’t exist quite yet for non-Angular code, but are coming soon).
This note would be a good fit for https://docs.nativescript.org/angular/ui/ng-ui-widgets/image
For references:
- NativeScript SDK examples with Angular: https://github.com/NativeScript/nativescript-sdk-examples-ng
- NativeScript SDK examples with JavaScript and TypeScript: https://github.com/NativeScript/nativescript-sdk-examples-js