add image blur
This commit is contained in:
parent
2f311f4c25
commit
20ea0841bc
@ -43,6 +43,13 @@ export class DoricImageNode extends DoricViewNode {
|
||||
break
|
||||
}
|
||||
break
|
||||
case 'isBlur':
|
||||
if (prop) {
|
||||
v.style.filter = 'blur(8px)'
|
||||
} else {
|
||||
v.style.filter = ''
|
||||
}
|
||||
break
|
||||
default:
|
||||
super.blendProps(v, propName, prop)
|
||||
break
|
||||
|
Reference in New Issue
Block a user