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