mirror of https://github.com/artf/grapesjs.git
6 changed files with 24 additions and 3 deletions
@ -0,0 +1,15 @@ |
|||||
|
define(['backbone', './ComponentView'], |
||||
|
function (Backbone, ComponentView) { |
||||
|
|
||||
|
return ComponentView.extend({ |
||||
|
|
||||
|
events: { |
||||
|
'click': 'onClick', |
||||
|
}, |
||||
|
|
||||
|
onClick: function(e) { |
||||
|
e.preventDefault(); |
||||
|
}, |
||||
|
|
||||
|
}); |
||||
|
}); |
||||
Loading…
Reference in new issue