Free and Open source Web Builder Framework. Next generation tool for building templates without coding
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.
 
 
 
 

29 lines
661 B

import ComponentView from './ComponentView';
export default class ComponentTextNodeView extends ComponentView {
initialize() {
ComponentView.prototype.initialize.apply(this, arguments);
}
// Clear methods used on Nodes with attributes
_setAttributes() {}
renderAttributes() {}
updateStatus() {}
updateClasses() {}
setAttribute() {}
updateAttributes() {}
initClasses() {}
initComponents() {}
delegateEvents() {}
_createElement() {
return document.createTextNode('');
}
render() {
const { model, el } = this;
if (model.opt.temporary) return this;
el.textContent = model.get('content');
return this;
}
}