Skip to content

Commit

Permalink
feat(weapp): add missing type for image component (#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpyzo0o authored and luckyadam committed Dec 19, 2019
1 parent 9e8cdc5 commit f07e6b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/taro-components/types/Image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export interface ImageProps extends StandardProps {
*/
lazyLoad?: boolean,

/**
* 开启长按图片显示识别小程序码菜单
*
* 默认值: `false`
*/
showMenuByLongpress?: boolean,

/**
* 当错误发生时,发布到 AppService 的事件名,事件对象
*
Expand Down

0 comments on commit f07e6b5

Please sign in to comment.