1.0.9 • Published 2 years ago

wc-mac-input v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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
}
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago