-
Notifications
You must be signed in to change notification settings - Fork 2
JavaScript
Elias Luhr edited this page Feb 17, 2022
·
2 revisions
An event will be triggered when the toggle visibility button is clicked
Example usage
$("#password-input-1").on("toggleVisibility", function(event, data) {
// data = {
// newVisibility: 0 or 1,
// oldVisibility: 0 or 1
//}
$("#password-input-2 + .input-group-btn > .password-input-toggle-button").trigger('click');
})