Smart Button Custom HTML Element

[ This description is mirrored from README.md at github.com/HTMLElements/smart-button on 2019-05-22 ]

Published on webcomponents.org

<smart-button>

Live Demo ↗ | Documentation ↗ | Installation ↗

<smart-button> is a Custom HTML Element providing an alternative of the standard button, part of the Smart HTML Elements.

<smart-button class="material">Click Me</smart-button>

Screenshot of smart-button, using the Material theme

Getting Started

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

Getting Started Documentation | CSS Documentation | API Documentation

The file structure for Smart HTML Elements

  • source-minified/

    Javascript files.

  • source-minified/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-button/smart-button-overview.htm

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

Install

Link to this version
ImportedReleased 20 June 2018Apache License 2.0
Framework Support
Polymer 1.0+
Browser Independent
Install with
bower install --save HTMLElements/smart-button"#1.1.0"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 1.1.0

Dependencies

  • webcomponentsjs#^1.0.0
  • smart-core#HTMLElements/smart-core