/x-caps

A web component that uppercases content.

Primary LanguageJavaScriptMIT LicenseMIT

x-caps

A web component that uppercases content.

Demo

Check it live!

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/platform/platform.js"></script>
  2. Import Custom Element:

    <link rel="import" href="bower_components/emiljohansson/dist/x-caps.html">
  3. Start using it!

    <x-caps value="default value"></x-caps>

Options

Attribute Options Default Description
value string `` Will be converted to upper case text.

Events

Event Description
valueChanged Triggers when the value of value updates.

History

For detailed changelog, check Releases.

License

MIT License