/smart-tooltip

Tooltip Web Component

Primary LanguageCSSApache License 2.0Apache-2.0

 Slack Price npm GitHub package version License: APACHE Published on webcomponents.org

<smart-tooltip>

Live Demo ↗ | Documentation ↗ | Installation ↗

<smart-tooltip> is a Custom HTML Element providing slide show/banner rotator](https://htmlelements.com/).

    <smart-button style="margin: 50px;" id="button">Button</smart-button>
    <smart-tooltip id="tooltip" selector="button" arrow>Tooltip</smart-tooltip>

Screenshot of smart-tooltip

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-tooltip/smart-tooltip-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