Skip to content

Conversation

mourner
Copy link
Member

@mourner mourner commented Dec 17, 2013

Closes #2280

mourner added a commit that referenced this pull request Dec 17, 2013
Evented base class to use in favor of mixing in event methods
@mourner mourner merged commit 4e2c097 into master Dec 17, 2013
@mourner mourner deleted the evented branch December 17, 2013 20:52
@patrickarlt patrickarlt mentioned this pull request Dec 21, 2014
60 tasks
@ghost
Copy link

ghost commented Apr 9, 2015

Were all Controls ever going to be Evented? Is the recommended way to make custom controls that support stuff like .on() still to use a Mixin?

@mourner
Copy link
Member Author

mourner commented Apr 9, 2015

@voltagex the previous approach also works, so something like this: MyControl.include(L.Events).

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.

Ditch Events mixin, make Evented base class instead
1 participant