polymer-1.0 Questions
3
Solved
I am trying to dynamically assign an attribute to an iron-ajax template but it resolves to undefined.
<dom-module id="products-service">
<style>
:host {
display: none;
}
</styl...
Cestus asked 9/6, 2015 at 19:47
8
Solved
Is there a way to pass an argument to a Polymer function from an element attribute inside its <template>?
<script src="http://www.polymer-project.org/1.0/samples/components/webcomponentsj...
Pahang asked 15/7, 2015 at 21:23
6
Solved
Iterating over an array myarray=[1, 2, 3] works like this:
<template is="dom-repeat" items="[[myarray]]">
<span>[[item]]</span>
</template>
How can I iterate over an obj...
Meridethmeridian asked 11/6, 2015 at 12:58
8
In Polymer 0.5 the advice on globals was as outlined in this question/answer:
Polymer global variables
However in Polymer 1.0 this doesn't seem to work. Change notifications are not automatically...
Jaimie asked 15/6, 2015 at 16:3
1
Solved
I'm developing for sending an Array as element's attribute.
File form-list.html
<dom-module id="form-list">
<template>
<div>{{title}} - {{owner}} </div>
<form&...
Vespers asked 18/2, 2017 at 22:46
4
Solved
I'm trying to sync some of my web component properties between instances of the same element so if one of this properties changes then the same property gets updated in all the instances with the c...
Bascom asked 2/2, 2017 at 19:49
2
Solved
From https://www.polymer-project.org/1.0/docs/api/dom-if
When if becomes falsey, the stamped content is hidden but not removed from dom. When if subsequently becomes truthy again, the content i...
Pratfall asked 13/2, 2017 at 3:31
2
Solved
I have a problem with Polymers iron-ajax element.
When calling it like this:
<iron-ajax url="https://api.onedrive.com/v1.0/drive/root" params='{"access_token":"[[access_token]]"}'></iron...
Tessie asked 8/12, 2015 at 19:44
3
I would like to create a responsive website with the Polymer Starter Kit + the prebuilt polymer elements.
Now, how to achieve something like a container or grid like in a css framework like bootst...
Dumpcart asked 2/9, 2015 at 7:54
1
I have a situation where I am using polymer starter-kit template for my app. My polymer.json files looks like this:
{
"entrypoint": "index.html",
"shell": "src/my-app.html",
"fragments": [
]...
Giralda asked 14/11, 2016 at 20:29
3
Currently I am trying to use Webpack (http://webpack.github.io/) as my module builder and wanted to see if anyone has done this yet with Polymer v1.0. There is a webpack loader called polymer-loade...
Garderobe asked 24/6, 2015 at 13:46
2
Solved
I'm using the polymer application drawer template from the polymer cli.
I'm having some trouble with:
When you load a new page, the html element is imported; then it's code executes
When I move ...
Bench asked 11/8, 2016 at 20:52
3
The Polymer Starter Kit is a good reference to start a Polymer project. You simply put all your elements into the app/elements folder. This works pretty neat for small to midsize projects.
It bec...
Sechrist asked 29/10, 2015 at 20:31
1
Solved
My problem involves chaining app-route. Originally I thought this bug came from my application but I recreated it with a simple example. The issue arises from first visiting a url that matches the ...
Premillenarian asked 14/11, 2016 at 18:51
1
Given the information at both the Polymer and Dart conferences in the last week, there is no information mentioned about the intersection of polymer and dart called PolymerDart at neither of them (...
Bid asked 2/11, 2016 at 2:30
3
Solved
Can someone please provide an example of proper implementation of dom-if?
No example of proper usage is provided by the official documentation. (Sorry there is no direct link. Must use menu in upp...
Fiber asked 20/7, 2015 at 8:18
3
Solved
Coming from a Meteor background, I'd use JQuery to show/hide a div, with paper-checkbox like so:
HTML:
<paper-checkbox name="remoteLocation" id="remote-chk" checked>Remote Location</pape...
Bourges asked 2/8, 2015 at 9:3
3
I am trying out polymer, but am having a problem in registering methods and calling them, I tried everything on the internet and nothing seems to work, I spent too many hours on this but with no re...
Prevost asked 2/9, 2015 at 16:33
4
Solved
When am trying to start gulp serve
Its raise an error
module.js:338
throw err;
^
Error: Cannot find module 'browser-sync'
at Function.Module._resolveFilename (module.js:336:15)
at Function...
Franchot asked 18/10, 2015 at 16:26
3
Solved
I was digging a bit into the Polymer 1.0 elements and I am a little curious about the computed properties.
For example, in paper-drawer-panel.html,
<dom-module id="paper-drawer-panel" …>
…...
Buntline asked 4/6, 2015 at 17:16
2
Information on the main site for debugging Polymer 0.5 is quite obsolete and doesn't work for Polymer 1.0.
I want to see some logs, so what I do:
<script>
window.Platform = {flags: {debug...
Andalusia asked 3/9, 2015 at 9:0
1
I have a paper-button with the on-tap function that opens a paper-dialog that contains a "Accept" paper-button that will close it when clicked.
The problem i'm getting is if depending on my screen...
Midpoint asked 26/8, 2015 at 10:9
2
Solved
Please share a working code example of how to use the <firebase-auth> Polymer element.
I have a custom <paper-button> I'm trying to make into a login button for user authentication. I ...
Discourage asked 26/7, 2015 at 6:24
1
Solved
Suppose the following is called from within a Polymer element:
this.fire("reset-counters");.
Will the reset-counters event be published to all elements that listen for that event or is in heard w...
Obstetrician asked 2/9, 2016 at 15:39
4
What's the Polymer 1.0 equivalent to injectBoundHTML()?
(i.e. appending HTML strings to nodes within a Polymer element and having data bindings resolve)
A JSbin example - http://jsbin.com/jufase...
Geometrician asked 15/6, 2015 at 1:51
© 2022 - 2024 — McMap. All rights reserved.