mlisook / plastic-image

A Polymer 3.0 element which adds extra plasticity to <iron-image> with support for srcset and lazy loading
MIT License
30 stars 6 forks source link

static get rqd for importPath #43

Closed mlisook closed 6 years ago

mlisook commented 6 years ago

Per the Polymer 3.0 upgrade guide a static getter is required if importPath is used:

If you use the importPath property in you element's template, you must add a static importMeta getter:

class extends PolymerElement {
  static get importMeta() { return import.meta; }
}