File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ import { PropertiesMixin } from './properties-mixin.js';
32
32
*
33
33
* - `static get template()`: Users may provide the template directly (as
34
34
* opposed to via `dom-module`) by implementing a static `template` getter.
35
- * The getter may return an `HTMLTemplateElement` or a string, which will
36
- * automatically be parsed into a template.
35
+ * The getter must return an `HTMLTemplateElement`.
37
36
*
38
37
* - `static get properties()`: Should return an object describing
39
38
* property-related metadata used by Polymer features (key: property name
@@ -350,8 +349,7 @@ export const ElementMixin = dedupingMixin(base => {
350
349
*
351
350
* Users may override this getter to return an arbitrary template
352
351
* (in which case the `is` getter is unnecessary). The template returned
353
- * may be either an `HTMLTemplateElement` or a string that will be
354
- * automatically parsed into a template.
352
+ * must be an `HTMLTemplateElement`.
355
353
*
356
354
* Note that when subclassing, if the super class overrode the default
357
355
* implementation and the subclass would like to provide an alternate
You can’t perform that action at this time.
0 commit comments