I'm using polymer 1.0 in my web application.
In my first component attributes-cmp.html, I have defined my function as desctibed below
getAttributes : function(jsonParams){
                //my code
},
In my second component I called the method
var elt = document.getElementById(eltId);
elt.getAttributes(jsonParams);
I got the error
SCRIPT438: Object doesn't support property or method 'getAttributes'.
This is work fine on google chrome but not on MS Edge
I have already added the portion of code to load the polyfills
if ('registerElement' in document
      && 'import' in document.createElement('link')
      && 'content' in document.createElement('template')) {
    // platform is good!
  } else {
    // polyfill the platform!
    var e = document.createElement('script');
    e.src = '/bower_components/webcomponentsjs/webcomponents-lite.min.js';
    document.body.appendChild(e);
  }
