项目作者: HTMLElements

项目描述 :
Auto Complete Input Web Component | https://www.htmlelements.com/
高级语言:
项目地址: git://github.com/HTMLElements/smart-input.git
创建时间: 2019-04-05T05:35:11Z
项目社区:https://github.com/HTMLElements/smart-input

开源协议:Apache License 2.0

下载


Smart Input ElementTweet

Price
@smarthtmlelements/smart-input"">npm
GitHub package version
License: APACHE

Published on webcomponents.org

Live Demos ↗
|
Documentation ↗
|
@smarthtmlelements/smarthtmlelements-core">Installation ↗

is a Custom HTML Element providing an alternative of the standard Input Auto Complete, part of the Smart HTML Elements.

  1. <smart-input data-source="[South America, North America, Asia, Africa, Europe]"></smart-input>

Screenshot of smart-input, using the Material theme

Getting Started

Smart HTML Elements components documentation includes getting started, customization and api documentation topics.

Getting Started Documentation
|

The file structure for Smart HTML Elements

  • source/

    Javascript files.

  • source/styles/

    Component CSS Files.

  • demos/

    Demo files

Running demos in browser

  1. Fork the Smart-HTML-Elements-Core repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the Smart-HTML-Elements-Core directory, run npm install and then bower install to install dependencies.

  4. Run a localhost or upload the demo on a web server. Then run:

    • /demos/smart-input/overview/

Following the coding style

We are using ESLint for linting JavaScript code.

Creating a pull request

  • Make sure your code is compliant with ESLint
  • Submit a pull request with detailed title and description
  • Wait for response from one of our team members

License

Apache License 2.0