File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,15 @@ declare namespace Polymer {
129
129
* from `instance.parentModel` in cases where template instance nesting
130
130
* causes an inner model to shadow an outer model.
131
131
*
132
+ * When `options.forwardHostProp` is declared as an option, any properties
133
+ * referenced in the template will be automatically forwarded from the host of
134
+ * the `<template>` to instances, with the exception of any properties listed in
135
+ * the `options.instanceProps` object. `instanceProps` are assumed to be
136
+ * managed by the owner of the instances, either passed into the constructor
137
+ * or set after the fact. Note, any properties passed into the constructor will
138
+ * always be set to the instance (regardless of whether they would normally
139
+ * be forwarded from the host).
140
+ *
132
141
* Note that the class returned from `templatize` is generated only once
133
142
* for a given `<template>` using `options` from the first call for that
134
143
* template, and the cached class is returned for all subsequent calls to
You can’t perform that action at this time.
0 commit comments