1.6.1 • Published 5 years ago

native-password-input v1.6.1

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

native-password-input

a password input with visibility native web component.

Installation

npm install native-password-input

Attributes

AttributeDefaultDetails/Example
namenullpassword
placeholdernullEnter a password
valuenull123456
openinexistantAdd this attribute to make password visible
icon-colornullColor of icon

Usage

Using ES6 Modules is required!

<!Doctype html>
<html>
    <head>
        ...
    </head>
    <body>
        <native-password-input 
            id="password" 
            placeholder="password..." 
            name="password"
            open
            >
        </native-password-input>
        <script src="./main.js" type="module"></script>
    </body>
</html>

main.js

import "/node_modules/native-password-input/index.js";
1.6.1

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago