Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wc-mic-input

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wc-mic-input

Speech input WebComponent implemented with Web Speech API.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

wc-mic-input

NPM

Published on webcomponents.org

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 {
    // override here
}

Options

name (optional)

The name of input, it would be the POST parameter name.

height (optional)

The height of input field.

Keywords

FAQs

Package last updated on 19 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc