iwek / github-search

Fork this repo if you want to start your own Web Component using Polymer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<my-element>

TODO: Write a project description

Maintained by Your Name.

Demo

Check it live.

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/platform/platform.js"></script>
  2. Import Custom Element:

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

    <my-element></my-element>

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

Options

Attribute Options Default Description
foo string bar Lorem ipsum
bar abc, def, ghi foo Lorem ipsum
height int 100 Lorem ipsum

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

History

For detailed changelog, check Releases.

License

MIT License

About

Fork this repo if you want to start your own Web Component using Polymer