diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index 33e7758cc0..677767d71f 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -398,11 +398,16 @@ /** * Path matching the url from which the element was imported. + * * This path is used to resolve url's in template style cssText. * The `importPath` property is also set on element instances and can be * used to create bindings relative to the import path. - * Defaults to the path matching the url containing a `dom-module` element - * matching this element's static `is` property. + * For elements defined in ES modules, users should implement `importMeta` + * and this getter will return `import.meta.url`'s path. For elements + * defined in HTML imports, this getter will return the path to the + * document containing a `dom-module` element matching this element's + * static `is` property. + * * Note, this path should contain a trailing `/`. * * @return {string} The import path for this element class