mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
409 B
13 lines
409 B
import ComponentLink from '../model/ComponentLink';
|
|
import ComponentView from './ComponentView';
|
|
|
|
export default class ComponentLinkView extends ComponentView<ComponentLink> {
|
|
render() {
|
|
super.render();
|
|
// I need capturing instead of bubbling as bubbled clicks from other
|
|
// children will execute the link event
|
|
this.el.addEventListener('click', this.prevDef, true);
|
|
|
|
return this;
|
|
}
|
|
}
|
|
|