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

How to listen to events of calcite-maps #217

Open
codingmiao opened this issue Nov 6, 2018 · 2 comments
Open

How to listen to events of calcite-maps #217

codingmiao opened this issue Nov 6, 2018 · 2 comments

Comments

@codingmiao
Copy link

For example, I want to do something when I open/close the panel. Can you provide a demo?

@gisfinder
Copy link

Set id on panel div , then to add event listener on click of the div. I get it by doing so.

@pmacMaps
Copy link
Contributor

I think you might be able to use the collapse-events to hook into the panels opening/closing.

These events fire when the show and hide method is called. I think these might be the methods that fire when a panel is opened and closed, respectively.

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

3 participants