Skip to content

mateusortiz/x-heart

Repository files navigation

<x-heart>

Web Component build with Polymer to display Heart

Maintained by Mateus Ortiz.

Demo

Check it live.

Install

Install with Bower:

$ bower install x-heart --save

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
  2. Import Custom Element:

    <link rel="import" href="src/x-heart.html">
  3. Start using it!

    <x-heart></x-heart>

Setup

In order to run it locally you'll need a basic server setup.

  1. Install NodeJS.

  2. Install GruntJS:

    $ [sudo] npm install -g grunt-cli
  3. Install local dependencies:

    $ npm install
  4. Run a local server and open http://localhost:8000.

    $ grunt connect

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License © Mateus Ortiz

About

Web Component build with Polymer to display Heart

Resources

License

Stars

Watchers

Forks

Packages

No packages published