/in-app-search

An implementation of material design in app search.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status License Published on webcomponents.org

A Polymer 3.0 element of material design in app search: Search pattern

Install dependencies and run the demo locally

  1. Build <web-socket> in the repo directory:
$ polymer build
  1. Run the demo automatically in your browser:
$ polymer serve --open

Usage

<in-app-search expanded placeholder="Search"></in-app-search>

Attributes explained:

  • expanded = True while search field is expanded
  • placeholder = Specifies a short hint that describes the expected value of the search field