Fixed #4219 - Password: add "@change" event

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-02 12:27:43 +03:00
parent 5782793740
commit 880c9ce6c3
3 changed files with 22 additions and 1 deletions

View file

@ -174,11 +174,26 @@ const PasswordSlots = [
}
];
const PasswordEmits = [
{
name: 'change',
description: 'Callback to invoke on value change.',
arguments: [
{
name: 'event',
type: 'object',
description: 'Browser event'
}
]
}
];
module.exports = {
password: {
name: 'Password',
description: 'Password displays strength indicator for password fields.',
props: PasswordProps,
slots: PasswordSlots
slots: PasswordSlots,
events: PasswordEmits
}
};