Html_wev8.js
439 Bytes
define(['mUtil', "Component"],function(mUtil, Component) {
var Html = function(options) {
Component.super(this, options);
this.type = "Html";
this.tpl = this.type + "_html";
var vm = this.viewModel = {
htm : ""
};
this.mounted = function(){
require(["lazyImgHelper"]);
mUtil.eval(vm.script, this.pageid);
mUtil.renderVarParser(vm.needParseVar);
};
};
return Component.init(Html);
});