Socket
Socket
Sign inDemoInstall

wc-mac-input

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wc-mac-input

Mac address input WebComponent


Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

wc-mac-input

NPM

Published on webcomponents.org

Mac address input web component.

Install

$ npm install wc-mac-input

Syntax

<script src="mac-input.js"></script>

<form action="#" method="POST" onsubmit="return form_submit(event)">
    <label for="mac-input">Mac address:</label>
    <mac-input id="mac-input" name="mac"></mac-input>
    <input type="submit" value="submit" />
</form>

Demo page

The demo page: https://yishiashia.github.io/mac-input.html

Usage

If you want to customize this web component, you can import the library and implement your new class by extend MacInput.

import MacInput from "wc-mac-input";

class customizedMacInput extends MacInput {
    // override here
}

Keywords

FAQs

Package last updated on 04 May 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