Web Component wrapper for Github Ribbons using Polymer.
Import Web Components' polyfill:
<scriptsrc="//unpkg.com/@webcomponents/webcomponentsjs@2.0.0/webcomponents-bundle.js"></script>
Import Custom Element:
<linkrel="import" href="src/github-ribbon.html">
Start using it!
<github-ribbonowner="nbluis"repo="github-ribbon-element"></github-ribbon>
| Attribute | Options | Default | Description |
|---|---|---|---|
owner | string | none | Owner of the project (User or Organization) |
repo | string | none | The repo name |
corner | left, right | right | The corner which ribbon will appears |
color | green, red, gray, white, darkblue, orange | green | The ribbon color |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D