Top "Polymer-1.0" questions

User this tag for questions specific to version 1 of Google's web components library, Polymer.

Error: Cannot find module 'browser-sync'

When am trying to start gulp serve Its raise an error module.js:338 throw err; ^ Error: Cannot find module 'browser-sync' …

npm polymer gulp polymer-1.0 browser-sync
Can't find Python executable "/path/to/executable/python2.7", you can set the PYTHON env variable

[email protected] install /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: Can't …

node.js polymer-1.0 node-gyp npm-install
Polymer 1.0: How to pass an argument to a Polymer function from an attribute?

Is there a way to pass an argument to a Polymer function from an element attribute inside its <template&…

polymer polymer-1.0
Error "Found 3 elements with non-unique id #input"

I'm using Polymer with Chrome 63.0.3239.108 (updated this morning) and I got some new errors while launching my webapp: [DOM] Found 3 …

html google-chrome polymer-1.0 unique-id
Polymer - show/hide div by paper-checkbox

Coming from a Meteor background, I'd use JQuery to show/hide a div, with paper-checkbox like so: HTML: <paper-checkbox …

javascript jquery html polymer polymer-1.0
How to use dom-repeat with objects instead of arrays in Polymer 1.0?

Iterating over an array myarray=[1, 2, 3] works like this: <template is="dom-repeat" items="[[myarray]]"> <span>[[item]]</…

templates polymer polymer-1.0
Using <template is="dom-if" with a condition

I have a <template is="dom-if" if=... that I want to use with a logical condition. Any binding I …

polymer polymer-1.0 dom-if
Polymer 1.0: Help using dom-if

Can someone please provide an example of proper implementation of dom-if? No example of proper usage is provided by the …

javascript api dom polymer polymer-1.0
Polymer 1.0 - Binding css classes

I'm trying to include classes based on parameters of a json, so if I have the property color, the $= makes …

polymer polymer-1.0
Polymer 1.0 Global Variables

In Polymer 0.5 the advice on globals was as outlined in this question/answer: Polymer global variables However in Polymer 1.0 this …

javascript html polymer polymer-1.0