Emmit – Show Hide Password JavaScript
$6.00
1 sales
Emmit – Show Hide Password JavaScript Review: A Clean and Elegant Build
I recently had the pleasure of working with Emmit, a show-hide password JavaScript solution that caught my attention with its clean and elegant design. This Vanilla JavaScript-based tool offers a straightforward and customizable approach to adding password visibility options to your website or project. In this review, I’ll dive into the features, what you can expect, and my overall experience with Emmit.
Features
Emmit boasts an impressive list of features that make it a compelling choice for developers:
- HTML5 and CSS3 markup and Vanilla JavaScript
- No jQuery dependency
- W3C valid markup
- Clean, modern, and minimalist design
- Easy customization options
- Cross-browser compatibility
- Google Fonts and Font-Awesome icons used
- Single layout design
- Well-commented and clean codes
What You Get
The package includes four files:
- HTML file
- CSS file
- JS file
- Documentation file
My Experience
I was pleasantly surprised by the ease of use and customization options that Emmit offers. The code is well-structured, and the documentation provides clear instructions on how to implement the solution. The design is clean and modern, making it a great fit for most websites and projects.
Pros and Cons
Pros:
- Easy to customize and integrate
- Clean and elegant design
- Well-structured code
- W3C valid markup
Cons:
- Limited options for customization (although easy to do so)
- No support for multiple password fields
Conclusion
Emmit is a fantastic show-hide password JavaScript solution that offers a clean, modern, and easy-to-use approach to adding password visibility options to your website or project. With its W3C valid markup, cross-browser compatibility, and well-commented code, Emmit is an excellent choice for developers looking for a reliable and customizable solution.
Rating
I give Emmit a rating of 5/5 stars. The combination of ease of use, customization options, and overall design make it a top-notch solution for any development project.
Recommendation
If you’re looking for a show-hide password JavaScript solution that is clean, modern, and easy to use, I highly recommend Emmit.
User Reviews
Be the first to review “Emmit – Show Hide Password JavaScript”
Here's a tutorial on how to use the Emmet's Show Hide Password feature, along with an introduction on what Emmet is.
Introduction to Emmet
Emmet is a popular open-source editor, which is a tool made for web developers that adds a lot of supercharging features to your favorite Sublime Text, Visual Studio Code, Atom, Espresso, and other popular web-developers integrated editor plugins that make you more efficient developer. Emmet offers snippets, abbreviations and powerful expansion of HTML structure features.
What is Emmit's Show Hide Password feature?
Emmet provides a feature called Show/Hide Password, which generates a password input field as a toggle button with hide eye icon. This means it will automatically generate an eyeglasses icon before it, and when clicked toggle the password visibility from its current state. If input field is empty then Emmet will automatically generates this password input field for creating a new password and generates a new eyeglass icon for it. Please note that Emmet always generates the password type like "password" even at the time of runtime too.
Tutorial on Emmet's Show Hide Password feature
Step 1: First, you need to install Emmet if not already installed. Please do the following steps in VSCode:
- Click View > Command Palette to get an opening console called palette like this:
? Enter command name or shortcut?
- Type in input field
Emmet install
and pressCmd + Enter
for using it.
Step 2: Now after, you need to get focus on the HTML area at the bottom of VS Code where you want to trigger 'Show/Hide Password` feature. You must set your cursor at there
Step 3:
- Type:
"input type="password
and presstab-key
(or enter into the code) automatically a new line will start: `input type="password" class="hidden">' - Then, at starting of this line cursor again goes back to Emmet's command palette as showing:
?
- Now, type the first character of
class-name
(like in input fieldcl
ofclass="cl"
Step 4:
- Emmet quickly expands this to
<input type="password" class="class">
, for this reason, to "Show/Hide Password field" feature,this class="class" (or your class) have to be defined
. But if your class "class
" was existing then it will start toggling your password view once you click on "(eye-icon)
on either side of the " eyeglasses icon (you can use it many classes if you want as required) ".
Here is an example of how to configure Emmit - Show Hide Password JavaScript:
Default Settings
To use the default settings, simply include the Emmit script in your HTML file:
<script src="https://cdn.jsdelivr.net/npm/emmit@1.0.0/dist/emmit.min.js"></script>
Customizing the Toggle Button
To customize the toggle button, you can pass an options object to the Emmit constructor:
<script>
const emmit = new Emmit({
toggleButton: {
className: 'my-custom-toggle-button-class',
text: 'Show/Hide'
}
});
</script>
Customizing the Password Input
To customize the password input, you can pass an options object to the Emmit constructor:
<script>
const emmit = new Emmit({
passwordInput: {
className: 'my-custom-password-input-class'
}
});
</script>
Customizing the Animation
To customize the animation, you can pass an options object to the Emmit constructor:
<script>
const emmit = new Emmit({
animation: {
duration: 500,
easing: 'ease-in-out'
}
});
</script>
Customizing the Event Listeners
To customize the event listeners, you can pass an options object to the Emmit constructor:
<script>
const emmit = new Emmit({
eventListeners: {
toggle: () => {
console.log('Toggle button clicked!');
}
}
});
</script>
Using a Custom Container
To use a custom container, you can pass a container element to the Emmit constructor:
<script>
const container = document.getElementById('my-custom-container');
const emmit = new Emmit(container);
</script>
Using a Custom Selector
To use a custom selector, you can pass a selector string to the Emmit constructor:
<script>
const emmit = new Emmit('#my-custom-selector');
</script>
Note that you can combine these options to create a custom configuration that suits your needs.
Here are the features of Emmit - Show Hide Password JavaScript:
- HTML5 and CSS3 Markup and Vanilla JavaScript: No jQuery used.
- W3C Valid Markup: Ensures web page follows World Wide Web Consortium (W3C) standards.
- Clean, Modern, Minimal & Creative Design: Aesthetically pleasing and easy to use design.
- Easy to Customize: Allows easy modification of the code and design.
- Cross Browser Compatible: Compatible with multiple web browsers and devices.
- Used Google Fonts: Integrates Google Fonts for fonts.
- Used Font-Awesome Icons: Integrates Font-Awesome icons for UI elements.
- Single layout: A single layout is provided.
- Well Commented and Clean Codes: Clear and well-organized code for easy understanding and maintenance.
These features make Emmit - Show Hide Password JavaScript a clean, efficient, and customizable solution for showing and hiding passwords in web applications.
There are no reviews yet.