It would be worth-while having custom select2 event directives for select2 events such as select2-opening. I needed to create one of these for triggering an analytics event to detect opening, even if the user doesn't change the model.
The code is based heavily on angular's own event directives.
It would be worth-while having custom select2 event directives for select2 events such as
select2-opening
. I needed to create one of these for triggering an analytics event to detect opening, even if the user doesn't change the model.The code is based heavily on angular's own event directives.