Skip to content

pass event to disableOn handler#1017

Open
sktocha wants to merge 1 commit into
dimsemenov:masterfrom
sktocha:master
Open

pass event to disableOn handler#1017
sktocha wants to merge 1 commit into
dimsemenov:masterfrom
sktocha:master

Conversation

@sktocha

@sktocha sktocha commented Aug 13, 2017

Copy link
Copy Markdown

Sometimes event in disableOn handler is need. For example if we need to disable popup when there is a disabled attribute on el that we clicked so we need to get element (e.target). (In the state when handler is called there is no el properties on instance.)

@interDist

Copy link
Copy Markdown

related to #923

@Lednerb Lednerb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good and useful addition!

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

Successfully merging this pull request may close these issues.

3 participants