etch icon indicating copy to clipboard operation
etch copied to clipboard

Add init and remove events

Open ricardobeat opened this issue 13 years ago • 0 comments

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.

ricardobeat avatar Feb 15 '13 05:02 ricardobeat