Skip to content

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

Notifications You must be signed in to change notification settings

addyosmani/github-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%