Socket
Socket
Sign inDemoInstall

wc-mac-input

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wc-mac-input

Mac address input WebComponent


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 14 Jul 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc