/element-boilerplate

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

Primary LanguageJavaScript

<my-element>

TODO: Write a project description

Demo

Check it live!

Usage

  1. Import Web Components' polyfill:

    <script src="lib/platform/platform.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
name string World Lorem ipsum

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

History

For detailed changelog, check Releases.

License

MIT License