[new feature] Notify: add onOpened prop
This commit is contained in:
@@ -44,6 +44,9 @@ function Notify(
|
||||
onClick={(event: Event) => {
|
||||
emit(ctx, 'click', event);
|
||||
}}
|
||||
onOpened={() => {
|
||||
emit(ctx, 'opened');
|
||||
}}
|
||||
{...inherit(ctx)}
|
||||
>
|
||||
{props.message}
|
||||
|
||||
Reference in New Issue
Block a user