keppelen / boilerplate-element

Fork this repo if you want to start your own Custom Element

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="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20130711/polymer.min.js"></script>
  2. Import Custom Element:

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

    <my-element></my-element>

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

License

MIT License

About

Fork this repo if you want to start your own Custom Element