Polymer Component that produces the pronunciation for the typed word.
This web componen uses a paper-input component to allow the user to input a word and a core-icon-button component to submit the input. It also uses the core-ajax component to call a web service provided by wordnik.com to get the word pronunciation.
Please feel free to improve the component.
-
bower install word-pronunciation
-
or just download word-pronunciation.html
-
Import Web Components' polyfill:
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
-
Import Custom Element:
<link rel="import" href="components/word-pronunciation.html">
-
Start using it!
<word-pronunciation></word-pronunciation>
Attribute | Options | Default | Description |
---|
TBD
Fork it!