Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能加上 #63

Closed
ng520tx opened this issue Aug 5, 2022 · 2 comments
Closed

希望能加上 #63

ng520tx opened this issue Aug 5, 2022 · 2 comments

Comments

@ng520tx
Copy link

ng520tx commented Aug 5, 2022

geoselectchanged:geo 中地图区域切换选中状态的事件(用户点击选中会触发该事件。)。

geoselected:geo 中地图区域选中后的事件(使用dispatchAction可触发此事件,用户点击不会触发此事件(用户点击事件请使用 geoselectchanged))。

geounselected:geo 中地图区域取消选中后的事件,使用dispatchAction可触发此事件,用户点击不会触发此事件(用户点击事件请使用 geoselectchanged)。

@supervons
Copy link
Owner

很不错的建议,正在开发自定义Event,预计下个版本发布。(两周内,9月10日前)

@supervons
Copy link
Owner

1.8.6 版本已支持自定义 Event,使用 eventActions 属性,如 finished 事件:

  eventActions={{
    finished:()=>{
      alert(1)
    }
  }}

Demo 可参考:
eventActions-Demo

后续会详细在文档里介绍。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants