-
Notifications
You must be signed in to change notification settings - Fork 129
Hybrid iron list 2.0
Emmanuel Garcia edited this page Jan 23, 2017
·
3 revisions
Dependency in v2:
const templatizer = new Polymer.Templatizer();
this._ctor = templatizer.templatize(this._template, {
instanceProps: instanceProps,
fwdHostPropToInstance: this._fwdHostPropToInstance.bind(this),
fwdInstancePropToHost: this._fwdInstancePropToHost.bind(this)
});
Dependency in v1:
behaviors: [
Polymer.Templatizer
]
Stamping a template in v2:
var stampedTemplate = new this._ctor(this);
Stamping a template in v1:
var stampedTemplate = this.stamp(null);