mirror of https://github.com/artf/grapesjs.git
4 changed files with 9 additions and 11 deletions
@ -1,16 +1,13 @@ |
|||
define(function() { |
|||
/** |
|||
* @class SwitchVisibility |
|||
* @private |
|||
* */ |
|||
return { |
|||
|
|||
run: function() { |
|||
this.$canvas.addClass(this.pfx + 'dashed'); |
|||
run: function(ed) { |
|||
ed.Canvas.getBody().className = this.ppfx + 'dashed'; |
|||
}, |
|||
|
|||
stop: function() { |
|||
this.$canvas.removeClass(this.pfx + 'dashed'); |
|||
stop: function(ed) { |
|||
ed.Canvas.getBody().className = ""; |
|||
} |
|||
|
|||
}; |
|||
}); |
|||
Loading…
Reference in new issue