wc-mic-input
![NPM](https://nodei.co/npm/wc-mic-input.png?mini=true)
![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)
Speech recognition input web component.
Install
$ npm install wc-mic-input
Syntax
<script src="mic-input.js"></script>
<form action="#" method="POST">
<label for="mic-input">Enter something:</label>
<mic-input height="36"></mic-input>
<input type="submit" value="submit" />
</form>
Demo page
The demo page: https://yishiashia.github.io/mic-input.html
Usage
If you want to customize this web component, you can import the library and
implement your new class by extend MicInput
.
import MicInput from "wc-mic-input";
class customizedMicInput extends MicInput {
}
Options
name (optional)
The name of input, it would be the POST parameter name.
height (optional)
The height of input field.