Questions tagged [iron-pages]

10 questions
3
votes
1 answer

How to implement routing in polymer 3 using app-route

I was stuck with implementing routing in polymer 3. I followed the basic guide provided on app-route documentation. But on loading the web page., I don't see any component getting loaded. I checked in shadow DOM and don't see any DOM getting…
shabarinath
  • 548
  • 3
  • 18
3
votes
1 answer

Get the number of pages in iron-pages

I'd like to show the number of the currently selected page and number of all pages in iron-pages (e.g. "page 1 of 100"). Getting the former is easy as you can look for the selected-changed event. For the latter I have no idea how to get it. I was…
pbm
  • 358
  • 2
  • 7
  • 22
1
vote
1 answer

Why can't I see my dynamically added iron-pages element on my webpage?

I'm using the following tutorial : https://vaadin.com/components/vaadin-tabs/html-examples/tabs-advanced-demos Here is my custom element :