Questions tagged [polymer-3.x]

294 questions
0
votes
1 answer

Create basic example polymer 3 that works ie11

Hello i start create basic project polymer init. Only think i change is add to polymer.json "builds": [ { "js": { "compile": "es5" } } ] In polymer serve it works. Still i want to build my component to run. I use…
user2217288
  • 529
  • 2
  • 14
  • 26
0
votes
2 answers

Can't load leaflet map onto polymer 3 element

So I'm trying to get my leaflet map to load onto my polymer 3 element, but I have an issue because I need the html div tag for the map to load BEFORE my leaflet javascript, or else it throws an error saying there's no container for it. I can't…
0
votes
1 answer

Polymer init halt on "Running generator" (polymer-cli 1.8.0, Polymer 3.0)

I'm facing the an issue, the polymer init halted on Running generator polymer-init-polymer-3-element:app... same on win7 and MINGW64_NT-6.1, with polymer --version = 1.8.0, nodejs --version = v10.3.0
mindon
  • 318
  • 4
  • 13
0
votes
2 answers

"Uncaught TypeError: Cannot read property 'push' of null" with Polymer 3 and polymerfire3

I'm working in a project with Polymer 3 and polymerfire3. Right now I have been able to use firebase-auth element successfully. But now that I'm trying to use the firebase-query element I get this on the console Uncaught TypeError: Cannot read…
0
votes
1 answer

Litelement querySelector is Null

I have a Parent file index.js that renders child tag counter.js. Whenever a property in child is changed a event is triggered and parent listens it. For this to work, I have to render both tags in index.html else index.js is unable to listen as…
Yodha
  • 45
  • 9
0
votes
1 answer

Webapp layout depending on device

Hi there I'm new to programming and I'm trying to build a progressive web app with Polymer3, I want to display the web app with a specific layout when I open it in a desktop and I want to display the web app differently when I use it in a mobile…
0
votes
1 answer

Change Polymer 3 route to a different html page

I am creating a sample Polymer 3 app with a login and dashboard page. My backend is a simple JX-RS REST API. Once I get a response from the web service, I want to go to a new HTML file (lets says dashboard.html) rather than route to a different…
sd1517
  • 607
  • 4
  • 7
  • 23
0
votes
1 answer

How to run Polymer 3 on local webserver (adding bundler to xampp)

I am trying to upgrade my old Polymer application to Polymer v3. Nearly Everything works fine if I use polymer serve. But I have to also use some php files to connect to the backend and there is the problem. When I try to run the application using…
Kuba Šimonovský
  • 2,013
  • 2
  • 17
  • 35
0
votes
1 answer

Inject HTML with Polymer 3

I want to add some HTML formatted text to a template in Polymer 3. This HTML comes from a function (which gets the string from a translation file using 'localize'), like: This is ® text. The only way that I found to do this, is by adding…
L-Four
  • 13,345
  • 9
  • 65
  • 109
0
votes
1 answer

How do I consume a polymer lit-element?

I have a litElement that I will need to consume from another domain. My browser is Chrome, I am using 'polymer serve' and navigating directly to the es5-bundle. The lit-element is very simple. Just some static text. When I use 'polymer build' my…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
0
votes
1 answer

How to pass values to the function on click event, in polymer-3.x?

I am looping an array of objects. each object has name and address for example. On click event, i want to send the clicked name to the function. Example: on-click="myFunc('[[item.name]]')" My current code: static get template() { ...
Raj
  • 1,100
  • 3
  • 20
  • 33
0
votes
1 answer

Polymer 3 with Visual Studio

Does anyone know how to get Polymer 3 running with Visual Studio? I have completed a demo using the polyserve development server. However, I cannot get the same code to work in Visual Studio. I would not think it would depend on the hosting…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
0
votes
0 answers

How to listen to the event of another component from button in polymer 3

I have a paper-button in one component and I need to fetch the data from other component when the button is clicked in the first Component. Can you help me how to do this. Thanks in Advance
0
votes
2 answers

Access iron-meta instance from a Mixin

Polymer 3 and iron-meta. How do I access meta from the instance? I could do document.createElement in my mixin, but it's cleaner with just one element to work off of. Mixin: let rawApiConstantsMixin =…
dman
  • 10,406
  • 18
  • 102
  • 201
0
votes
1 answer

How to highlight selected routerLink text on page reload, in Polymer3.x ?

I am building a Polymer3 music app, which fetches playlists from public api. All the playlistNames are implemented as routerLinks. On clicking, the playlistName is getting bold, but on page reload the routerLink is not highlighted(bold). For…
Raj
  • 1,100
  • 3
  • 20
  • 33