Directory

← Back

smart-button

Smart Button Custom HTML Element

Author

Rating

Popularity

<100

[ 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

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • webcomponentsjs#^1.0.0
  • smart-core#HTMLElements/smart-core
Released
2018-06-20
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Polymer 1.0+
Browser
Browser Independent

smart-button - Vaadin Add-on Directory

Smart Button Custom HTML Element smart-button - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/HTMLElements/smart-button](https://github.com//HTMLElements/smart-button/blob/1.1.0/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-button) # <smart-button> [Live Demo ↗](https://htmlelements.com/demos/button/) | [Documentation ↗](https://www.htmlelements.com/docs/) | [Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smart-core) [<smart-button>](http://htmlelements.com/demos/button/) is a Custom HTML Element providing an alternative of the standard button, part of the [Smart HTML Elements](https://htmlelements.com/). ```html Click Me ``` [Screenshot of smart-button, using the Material theme](http://htmlelements.com/demos/button) ## Getting Started Smart HTML Elements components documentation includes getting started, customization and api documentation topics. [Getting Started Documentation](https://www.htmlelements.com/docs/button/) | [CSS Documentation](https://www.htmlelements.com/docs/button-css/) | [API Documentation](https://www.htmlelements.com/docs/button-api/) ## 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. 1. Make sure you have [npm](https://www.npmjs.com/) installed. 1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies. 1. 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](http://eslint.org/) for linting JavaScript code. ## Creating a pull request - Make sure your code is compliant with ESLint - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description - Wait for response from one of our team members ## License Apache License 2.0
Online