3 * A Backbone view that decorates the in-place editable entity.
6 (function (Drupal, $, Backbone) {
7 Drupal.quickedit.EntityDecorationView = Backbone.View.extend(/** @lends Drupal.quickedit.EntityDecorationView# */{
10 * Associated with the DOM root node of an editable entity.
14 * @augments Backbone.View
17 this.listenTo(this.model, 'change', this.render);
24 this.$el.toggleClass('quickedit-entity-active', this.model.get('isActive'));
31 this.setElement(null);
32 Backbone.View.prototype.remove.call(this);
36 }(Drupal, jQuery, Backbone));