RichText_wev8.js
417 Bytes
define(['mUtil', "Component"],function(mUtil, Component) {
var RichText = function(options) {
Component.super(this, options);
this.type = "RichText";
this.tpl = this.type + "_html";
this.css = this.type + "_css";
var vm = this.viewModel = {
text : ""
};
this.mounted = function(){
mUtil.renderVarParser(vm.needParseVar);
};
};
return Component.init(RichText);
});