Package Exports
- github-corner
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (github-corner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This builds on the work of tholman.
See the demo.
Installation
<!-- Custom Elements polyfill (2.9KB) -->
<script src="https://unpkg.com/@webcomponents/custom-elements@1.0.0-alpha.3"></script>
<!-- our custom element's source (6.1KB) -->
<script src="https://unpkg.com/github-corner@2.0.3"></script>
Basic usage
<github-corner>
<a href="https://github.com/aaronshaf/github-corner-element">GitHub</a>
</github-corner>
Specify colors:
<github-corner fill="white" color="black">
<a href="https://github.com/aaronshaf/github-corner-element">GitHub</a>
</github-corner>
Move it to the left:
<github-corner position="left">
<a href="https://github.com/aaronshaf/github-corner-element">GitHub</a>
</github-corner>