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 Garfield550 committed Dec 12, 2019
1 parent 58e0c17 commit 61d7afe
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 61d7afe

Please sign in to comment.