mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4219 - Password: add "@change" event
This commit is contained in:
parent
5782793740
commit
880c9ce6c3
3 changed files with 22 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue