add image Blur

This commit is contained in:
yao 2019-12-12 16:57:30 +08:00
parent 4a9e00b2ac
commit 6adcf11d18

View File

@ -26,6 +26,7 @@ export interface IImage extends IView {
imageUrl?: string
imageBase64?: string
scaleType?: ScaleType
isBlur?: boolean
loadCallback?: (image: { width: number; height: number } | undefined) => void
}
@ -36,6 +37,8 @@ export class Image extends View implements IImage {
imageBase64?: string
@Property
scaleType?: ScaleType
@Property
isBlur?: boolean
@Property
loadCallback?: (image: { width: number; height: number } | undefined) => void