A web component that uppercases content.
Or download as ZIP.
-
Import Web Components' polyfill:
<script src="bower_components/platform/platform.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/emiljohansson/dist/x-caps.html">
-
Start using it!
<x-caps value="default value"></x-caps>
Attribute | Options | Default | Description |
---|---|---|---|
value |
string | `` | Will be converted to upper case text. |
Event | Description |
---|---|
valueChanged |
Triggers when the value of value updates. |
For detailed changelog, check Releases.