A Polymer element. My name is ahomu.
Install using Bower:
bower install x-ahomu
-
Import Web Components' polyfill (platform.js)
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.0/platform.js"></script>
-
Import Custom Element:
<link rel="import" href="x-ahomu.html">
-
Start using it!
<x-ahomu></x-ahomu>
Attribute | Options | Default | Description |
---|---|---|---|
color |
string | green |
Face color |
<x-ahomu color="rainbow"></x-ahomu>
Wow Rainbow!!