feat: Image loadCallback add animated prop

This commit is contained in:
pengfei.zhou
2021-09-23 18:15:55 +08:00
committed by osborn
parent c452ebffda
commit 3fd8405e0b
10 changed files with 6638 additions and 6912 deletions

View File

@@ -90,7 +90,7 @@ export class Image extends View {
errorColor?: Color
@Property
loadCallback?: (image: { width: number; height: number } | undefined) => void
loadCallback?: (image: { width: number; height: number; animated: boolean } | undefined) => void
/**
* Default is Environment.screenScale.