Thanks in advance.
In google polymer 3, I used below link to get the icons
https://npm-demos.appspot.com/@polymer/[email protected]/demo/index.html
I can use the images from icons list and unable to use another images from Av, Communication, devices etc.
Can anybody please help me on this.
How to get the device and hardware icons from iron icons list in polymer js?
594 views Asked by Firoza Shaikh At
2
There are 2 answers
0
Cappittall
On
You will need to import explicitly other icon sets as:
import {PolymerElement} from '@polymer/polymer/polymer-element.js';
import {html} from '@polymer/polymer/lib/utils/html-tag.js';
import '@polymer/iron-icon/iron-icon.js';
import '@polymer/iron-icons/iron-icons.js';
here below are for the Av, Communication, devices icons:
import '@polymer/iron-icons/av-icons.js';
import '@polymer/iron-icons/communication-icons.js';
import '@polymer/iron-icons/device-icons.js';
Related Questions in ANGULARJS
- How to automatically change path in angular when scrolling
- Error two clicks to be able to login Angular 16
- Passing an array of objects through the $http.post method in angular JS does not work
- Understanding how to apply Angular Signals from beginning on an existing service
- provider duplicate while compiling a Cordova application for the Android platform
- How can I use angularjs $parse service in Angular?
- Width of custom headers in ag-grid (angular) doesn't match with column's width
- Issues with Katex/ngx-markdown Rendering in Angular 16
- How to make Angular SSR wait for async operations to finish that are initiated in ngOnInit?
- I want to install @angular/google-maps npm Package in angular 16.2.12 but "npm install @angular/google-maps" this is not working/ tell me other query
- Angular 17 standalone application integrate CKEditor 5 -- Error: window is not defined
- Why is $scope >= 0 showing true in interpolation while empty in controller?
- The XMLHttpRequest compatibility library was not found
- Making Gantt Chart Column Labels More Readable
- Pass key-value pairs of object as individual arguments to component in Angular
Related Questions in POLYMER-2.X
- Modify CSS inside a Shadow DOM (Lit-Element)
- Trouble mutating an array with data fetched from axios in polymer 2
- Javascript function inside polymer is not a function error
- Polymer JS input value can be set however not being rendered in the UI
- How do I get mwc-icon-button working with font awesome?
- Polymer is not defined
- Polymer <dom-repeat> data binding to child element not working?
- Item inside <nuxeo-data-table-column> component passed to a function as an argument yields empty object
- How can i prevent my draggable menu go outside a div in Polymer 2?
- Why does Webcomponent object value is shared between the different instances of the same webcomponent?
- Chrome 80 polymer TypeError: Cannot read property '__proto__' of null
- Polymer 2 iron-selector selected element doesn't update after the dom changes order of elements
- Polymer: on-click event on dom-repeat item is not identified in index.html
- Route not working if not basic url polymer
- a11y polymer button doesn´t provide auditive feedback of button state
Related Questions in POLYMER-STARTER-KIT
- Dom-If not refreshing after variable changes
- The requested URL / was not found on this server. I used polymer-3-starter-kit
- gitlab error in testing a lit-element app
- Polymer 3 LitElement PWA cannot style Polymer Element using css mixin
- Using a Material Web Component inside a litElement
- How to deploy Polymer starter kit 3 through Firebase hosting?
- Accessing elements in Polymer 3.0
- AppLocalizeBehavior in LitElement error "Uncaught TypeError: Cannot read property 'forEach' of undefined"
- template getter must return HTMLTemplateElement error in polymer 3 google map
- Lit-Elements external js file as storage changed by a property data binding
- How to get the device and hardware icons from iron icons list in polymer js?
- Why does NPM install another node_modules folder within a polymer element and how can this be fixed?
- Import js library in polymer 2.0
- Add Logo on the left of the toolbar in the PWA starter kit
- Advanced Polymer routing
Related Questions in POLYMER-3.X
- Polymer 3 neon-animations document.timeline.play is not a function
- Uncaught Syntax Error: Invalid regular expression : Invalid character class
- DOM not updating after async fetch in polymer.js
- How to style vaadin-dialog in Vaadin 24?
- Upon hover, how to highlight entire row of vaadin-grid in 24?
- Polymer, adding new item in nested Array in not getting rendered by dom-repeat
- import package external style css to polymer 3 application
- how to hide drop down list in poymer-js
- How to add asterisk symbol in required Field
- vaadin combobox in polymer 3
- Failed to resolve module of Polymer 3 in Electron v.17 application
- how to implement menu navigation in polymer js
- Hidding api key in front end application
- Call function in dynamically created row in Polymer
- Conditional rendering in Polymer 3
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It would be best if you would show some code. To be precise the bit of code where you imported the icons and use them. I believe you might have imported not all icon -sets
However, the best way to use the icons provided by Polymer is to create a file which includes only the icons you actually going to use. This will reduces load time and makes the icons generally more accessible.
Example:
This Polymer3 Element is called custom-icons.js