Web Component wrapper for Facebook Image using Polymer.
Maintained by Luiz Tiago.
-
Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20130711/polymer.min.js"></script>
-
Import Custom Element:
<link rel="import" href="src/facebook-image.html">
-
Start using it!
<facebook-image object="luiztiago"></facebook-image>
Attribute | Options | Default | Description |
---|---|---|---|
object |
string | `` | People, Event, Groups, Page, Application or Photo Album id |
type |
square , small , normal , large |
large |
Type (size) of image. Check Facebook API and see each width and heigh |
width |
int | `` | Width of image in pixels (only need int argument) |
height |
int | `` | Height of image in pixels (only need int argument) |
- 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
- v0.0.1 September 03, 2013
- Started project using boilerplate-element