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 know the type of event? #86

Open
nlptr opened this issue Jun 18, 2018 · 1 comment
Open

How to know the type of event? #86

nlptr opened this issue Jun 18, 2018 · 1 comment
Labels

Comments

@nlptr
Copy link

nlptr commented Jun 18, 2018

HI when i try to console the above event, it only gives me the items that are added to destination array. It doesn't say anything about the event type (to know if its add/remove). How do i know the type of event?

@nlptr nlptr changed the title How to know the type of How to know the type of event? Jun 18, 2018
@czeckd
Copy link
Owner

czeckd commented Jun 25, 2018

The event always returns the items in the destination. So, if an item was removed from the destination it will not show up in the event. If you need an event more refined, extend the component to add them. The custom-dual-listbox project shows an example of extending the component and adding a new event.

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

No branches or pull requests

2 participants