polymer-element-catalog | based web components built by the Polymer team | Web Framework library
kandi X-RAY | polymer-element-catalog Summary
kandi X-RAY | polymer-element-catalog Summary
A catalog of Polymer-based web components built by the Polymer team
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of polymer-element-catalog
polymer-element-catalog Key Features
polymer-element-catalog Examples and Code Snippets
Community Discussions
Trending Discussions on polymer-element-catalog
QUESTION
I'm using Polymer 1.8 (Starter Kit template). I want to know how to create a search filter custom element like the one in https://codelabs.developers.google.com/
Desirable result:As you can see, it filters out the cards below it, with each keystroke typed in the search bar, leaving only the cards that are containing desirable search words.
I'd like for it to find the words in both:
- the title of a
(text in the
heading
) - and in the inner
divs
(description of a)
The only examples of the search box I found are this page from 2015 and this page of the Polymer Element Catalog, which is using a similar search box, but I couldn't adapt them to my custom elements.
Here'smy-preview-cards
custom element:
It contains the cards themselves:
...ANSWER
Answered 2017-Mar-16 at 14:16I think it's about manipulating the data. I doubt that you would want to manually create all those s if you have so much data, so I suggest using
for that and filtering your data from the
Array
. You can see an example demo here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install polymer-element-catalog
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page