polymer-2.0

Polymer2.0- Trying to download DIV content of custom element

三世轮回 提交于 2019-12-12 04:47:55
问题 I am trying to download div content of custom element using document.getElementById of the div and trying to implement download option from the JS FIddle - http://jsfiddle.net/evx9stLb/ From console, I am getting below error pen.js:6 Uncaught TypeError: Cannot read property 'innerHTML' of null at download (pen.js:6) at HTMLButtonElement.onclick (index.html:15) HTML: <head> <base href="https://polygit.org/polymer+v2.0.0/shadycss+webcomponents+1.0.0/components/"> <link rel="import" href=

Polymer2.0 - polymer testing is failing with error

不打扰是莪最后的温柔 提交于 2019-12-08 07:37:48
问题 When I try to test polymer elements and run polymer test command, I am getting below error Installing and starting Selenium server for local browsers ---------- selenium-standalone installation starting ---------- --- selenium install: from: https://selenium-release.storage.googleapis.com/3.0/selenium-server-standa lone-3.0.1.jar to: C:\Users\xxxx\AppData\Roaming\npm\node_modules\polymer-cli\node_modules\se lenium-standalone\.selenium\selenium-server\3.0.1-server.jar --- chrome install: from: