czeckd/angular-dual-listbox

How to know the type of event?

Opened this issue · 1 comments

nlptr commented

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?

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.