Giter Site home page Giter Site logo

fxedel / toggle-icon Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 7.0 4.79 MB

toggle-icon is a custom element created with Polymer. It provides an extremely powerful and customizable switch that looks like a paper-icon-button.

Home Page: http://fxedel.github.io/toggle-icon/

HTML 7.90% JavaScript 92.10%
polymer paper-elements webcomponents ui custom-elements web-components polymer2 hacktoberfest

toggle-icon's Introduction

Published on webcomponents.org Published on Vaadin  Directory Stars on vaadin.com/directory

toggle-icon

What does this element?

toggle-icon is a custom element created with Polymer. It provides an extremly powerful and customizable switch that looks like a paper-icon-button. Use toggleIcon.checked to get the toggle-icon's status in JavaScript. For more information about the usage, see the component page.

Here's a gif that shows five icon-toggle elements which are toggled by setting the checked property programmatically:

animation

Get the code

If you have npm installed, run:

npm install polymer-toggle-icon

Else, you can clone this repository.

Bugs / Feature requests

Feel free to open an issue if you notice something that can be improved.

Contributing to the code

  1. Fork the repository.
  2. Commit your changes to your fork.
  3. Create a pull request.

I really appreciate any contribution :)

License

The project is distributed under the MIT License, so you can use or modify the code as you like, you only need to name the author (e. g. by adding a link to the GitHub repository).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.