User this tag for questions specific to version 2 of Google's web components library, Polymer.
Questions tagged [polymer-2.0]
34 questions
0
votes
1 answer
Chrome (open) Shadow DOM Events Not Reaching Host
I'm running Chrome 56.0.x (corporate mandate), along with Polymer 2. My sample component isn't doing anything fancy; just raising a CustomEvent after making a simple AJAX call. I'm setting "bubbles":true and "composed":true, and I can validate that…

David Filkins
- 1
- 3
0
votes
2 answers
How to create static object in polymer
I have the following use case.
The root file in my web project is index.html. I want to create an object that stores user info such that it can be accessed from any polymer web component in the project, without ever passing it to any web component…

Sudipta Roy
- 740
- 1
- 9
- 29
0
votes
0 answers
Polymer iron-data-table- Customizing Expansion - Single Item Expanded
I am very new to polymer I am trying to use this on polymer2.0
but not able to integrate properly the script given on the demo
document.addEventListener('WebComponentsReady', function() {
Polymer({
is: 'custom-expansion',
ready: function() {
…

surendra
- 45
- 1
- 8
0
votes
1 answer
ERROR Error: Cannot find control with name in ionic3?
I have create a app using ionic 3 and i click on the login link i got this error "Cannot find control with fname, email,number,gstNumber and i have tried formGroupName instead of the formControlName but still not working Please help me for figuring…

Kapil Soni
- 1,003
- 2
- 15
- 37
0
votes
1 answer
Polymer 2.0 Stripe Payment Request Button Integration
I am facing a challenge in integrating STRIPE Payment Request Button in my PWA using Polymer 2.0. I am not able to add the stripe payment button to the div inside template tag of the element.
I have a stripe-payment element created. It's basically…

Vinayak Vanarse
- 81
- 11
0
votes
1 answer
Polymer paper-radio-group allows multiple radio buttons to be select
I'm trying to add a radio group but the radio buttons are allowing multiple selection. I imported only the paper-radio-group. How to make it select only one radio button at a time.
1)
user3310115
0
votes
3 answers
Bind Polymer 2.x event handler to a global function?
I have some Polymer elements that are not inside an element/app, and I can't figure out how to attach their event handlers, such as on-click, to a global javascript function.
For example, let's say my code looks something like this
//…

Magnus
- 17,157
- 19
- 104
- 189
0
votes
1 answer
is there any way to set char-counter maxlength dynamically for paper-input
I want to set different maxlength for different data, i tried by writing a method in maxlength but it didn't worked, so is there any other possibility

rajashekar
- 609
- 5
- 19
0
votes
0 answers
What would be the usual approach to store an access token in the session storage of a PWA(using polymer 2.0)
My situation is the following: I recently made a secure C# Rest-Service using OWIN & OAuth to store some data and access it with a PWA later. I started with a login.
My current problem is: where do I store the access token given by my Rest-Service?…

Felix Froschauer
- 83
- 14
0
votes
1 answer
Multiple checkbox with multiple color in polymer 2
I have multiple check-box and want to check it with multiple color. To do this I have override paper-checkbox but all elements are getting overriding. My scripts: