polymer-2.x Questions
2
Currently my org is on Polymer 1 with Selenium, Protractor and Mocha and we use the shady dom. For acceptance tests we use the /deep/ combinator to pierce the DOM. With polymer 2 the /deep/ combina...
Catima asked 28/9, 2017 at 15:58
3
How can I use Polymer 2 elements in Polymer 3 element? The following doesn't work since <link> element doesn't work inside shadow dom.
static get template() {
return '
<link rel="import...
Syncretism asked 4/1, 2018 at 22:18
1
Solved
We have a huge Polymer 1.0 project with a few hundred elements and are wondering whats the best way to upgrade everything to 3.0. Should we upgrade to 2.0 first or directly go to 3.0? Also are ther...
Frizette asked 22/8, 2018 at 11:39
1
Solved
I am using the vaadin-grid-filter with Polymer 2.x and I am facing the following problem.
I have a vaadin-grid-column as following,
<vaadin-grid-column width="15em">
<template class="hea...
Infralapsarian asked 28/5, 2018 at 11:14
2
Solved
I am developing a web component using Polymer v3, and need to include some custom elements defined in legacy Polymer 2 components in the template HTML of my new component.
Since HTML imports are ...
Bellini asked 15/5, 2018 at 9:13
1
I am working in web application project which is made in Polymer 2.0, All Custom elements extends some Mixins. Some of those Mixins just provide utility functions to custom elements just like Date ...
Charyl asked 17/3, 2018 at 14:46
3
I'm facing this issue while running polymer init on polymer-cli.
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry'
Philosophism asked 10/6, 2017 at 9:2
2
Solved
I am struggling with getting out of the current situation: we have a polymer SPA (A) deployed on a certain server and bound to a certain url: http://example.com/A, we do need to show legacy pages o...
Britnibrito asked 16/2, 2018 at 14:59
3
Solved
I am trying to create a component that does not have a Shadow DOM. Yeah, I know, Shadow DOM is great and all and is one of the main focuses of Web Components. But, let's say I wanted a component's ...
Villanelle asked 8/8, 2017 at 18:48
1
I've successfully built a number of Polymer 2.0 elements and they run great in ES6 capable browsers.
When I try to transpile them to ES5, the browser throws a bunch of errors, like these:
Failed ...
Dactylology asked 24/3, 2017 at 14:53
2
Solved
I am attempting to build generic web components that render JSON object collections, like a tree view and a multi-list view (moving items between two lists). I would like to copy the pattern used b...
Puga asked 22/5, 2017 at 2:51
3
Solved
I am experimenting with Polymer 2.x and what I don't understand is how to use Polymers own behaviors in Polymer 2.x, iron-resizable-behavior as an example.
The Polymer 2.0 upgrade guide tells us ...
Careerism asked 21/3, 2017 at 0:15
0
Hey whats the right way to add a transition to iron-pages? At the moment i just create a custom-element, a "clone" of iron-pages and add the iron-selectable behavior. I use css transitions on the e...
Chowchow asked 18/7, 2017 at 16:46
1
I would like to develop some of the webcomponents in a Polymer 2.0 project with scala.js. While there is a wonderful demo-project on github demonstrating how it works with Polymer 1.0. I cannot get...
Lubra asked 15/5, 2017 at 9:28
1
I'm testing my Polymer application and I get a pretty good score on Lighthouse. However, I still have a small problem. I have a manifest.json file containing everything so the app can be added to t...
Seaward asked 24/5, 2017 at 11:30
1
Solved
I've been trying to make a simple iron-ajax post to the server, but it keeps failing at the preflight call. For the life of me I can't figure out what's going on, all the CORS headers seem to be co...
Cancer asked 7/7, 2017 at 8:46
2
I want a custom element I'm defining to have the Polymer.IronScrollTargetBehavior in Polymer 2.
In Polymer 1, this can be done by adding it to the behaviors array:
Polymer({
is: 'my-element',
b...
Pathos asked 24/1, 2017 at 21:20
1
Solved
I am trying to bind local properties.json and trying to create dynamic elements, but the problem is I am not getting any console errors and not seeing JSON in the UI.
I didn't find a Polymer 2.0 e...
Melamie asked 21/6, 2017 at 20:26
1
I'm trying to create a hybrid app using Polymer 2.0. I've used polymer-2-application and polymer-2-starter-kit sample and it was working when it is tested on safari browser.
But when I run it o...
Zebe asked 8/6, 2017 at 9:38
1
Solved
I'd like to inject a rendering template from a parent component to a child component using <slot> insertion points. The injected template contains data-binding on a property of the child comp...
Miserere asked 7/6, 2017 at 12:12
1
Solved
I'm having such a hard time trying to use the Polymer.importHref function...
What am I missing?
Cumbersome asked 1/6, 2017 at 18:40
1
Solved
When I create a Polymer 2.0 element, only the ready lifecycle callback seems to fire, and I can't work out why. For example, I have this Polymer element:
<link rel="import" href="../../bower_co...
Relator asked 11/5, 2017 at 20:28
1
I'm working with polymer 2, I download polymer paper input elements, then i add the link tag:
<link rel="import" href="../bower_components/paper-input/paper-input.html">
then:
<paper-i...
Delmerdelmor asked 29/3, 2017 at 19:19
1
Solved
Simple question, but no documentation is to be found on the subject : is there a debouncer in Polymer 2.0? If so, how can it be used?
this.debounce was an instance method in 1.0, but it appears to...
Nena asked 13/3, 2017 at 20:50
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
1 Next >
© 2022 - 2024 — McMap. All rights reserved.