Skip to content

reggi/polymer-github-ribbon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymer Github Ribbon

Installation

bower install reggi/polymer-github-ribbon --save

Usage

Drop the following lines within the <head> tag.

<script src="./bower_components/platform/platform.js"></script>
<link rel="import" href="./bower_components/polymer-github-ribbon/github-ribbon.html">

To create a new banner use the <github-ribbon> tag.

<github-ribbon href="https://github.com/reggi/polymer-github-banner"></github-ribbon>

Attributes

href

The url to the github repo. (required)

color

The color of the ribbon.

  • red
  • green
  • black (default)
  • orange
  • gray
  • white

corner

Which side of the page the ribbon will show on.

  • right (default)
  • left

Source: Github Ribbons

About

🎀 Polymer component for the github ribbon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages