File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -315,9 +315,11 @@ Invoked on mount and on layout changes.
315
315
316
316
Invoked when load completes successfully.
317
317
318
- | Type |
319
- | ------------------------------------------------ |
320
- | ([ ImageLoadEvent] ( image#imageloadevent ) ) => void |
318
+ ** Example:** ` onLoad={({nativeEvent: {source: {width, height}}}) => setImageRealSize({width, height})} `
319
+
320
+ | Type |
321
+ | ----------------------------------------------------------------- |
322
+ | ({ nativeEvent: [ ImageLoadEvent] ( image#imageloadevent ) }) => void |
321
323
322
324
---
323
325
@@ -572,6 +574,14 @@ Object returned in the `onLoad` callback.
572
574
573
575
** Properties:**
574
576
577
+ | Name | Type | Description |
578
+ | ------ | ------ | ----------------------------------- |
579
+ | source | object | The [ source object] ( #source-object ) |
580
+
581
+ #### Source Object
582
+
583
+ ** Properties:**
584
+
575
585
| Name | Type | Description |
576
586
| ------ | ------ | ------------------------------------------------------------ |
577
587
| width | number | The width of loaded image. |
You can’t perform that action at this time.
0 commit comments