Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click Event for NzNotification #4986

Closed
WeslleyDeSouza opened this issue Apr 5, 2020 · 1 comment
Closed

Click Event for NzNotification #4986

WeslleyDeSouza opened this issue Apr 5, 2020 · 1 comment

Comments

@WeslleyDeSouza
Copy link

What problem does this feature solve?

Get user interation with the NzNotification

What does the proposed API look like?

this.notification.blank(
'Notification Title',
'Hello World.',
{
nzOnClick:()=>{}
}
);

@wzhudev
Copy link
Member

wzhudev commented Apr 5, 2020

PR welcome! Better to make it an observable property of NzNotificationDataFilled rather than a callback.

wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 14, 2020
close NG-ZORRO#4986

BREAKING CHANGE: NzMessageDataFilled is replaced by NzMessageRef
BREAKING CHANGE: NzNotificationDataFilled is replaced by NzNotificationRef
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 14, 2020
close NG-ZORRO#4986

BREAKING CHANGE: NzMessageDataFilled is replaced by NzMessageRef
BREAKING CHANGE: NzNotificationDataFilled is replaced by NzNotificationRef
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 14, 2020
close NG-ZORRO#4986

BREAKING CHANGE: NzMessageDataFilled is replaced by NzMessageRef
BREAKING CHANGE: NzNotificationDataFilled is replaced by NzNotificationRef

Update components/message/typings.ts

Co-Authored-By: Hsuan Lee <HsuanGM@gmail.com>

Update components/notification/typings.ts

Co-Authored-By: Hsuan Lee <HsuanGM@gmail.com>
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
close NG-ZORRO#4986

BREAKING CHANGE: 


- NzMessageDataFilled is replaced by NzMessageRef
- NzNotificationDataFilled is replaced by NzNotificationRef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants