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

Add init and remove events #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ricardobeat
Copy link

This patch adds etch:init and etch:remove events which are triggered after editableInit and before removing.

Use case: the editable area has a draggable attribute which needs to be unset during editing, and put back when done.

Alternatively the events could be fired on the target element instead of the model, but since etch is already tightly coupled to Backbone I thought I'd follow that path.

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.

None yet

1 participant