ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Notification能否有堆叠的效果,antd有堆叠的模式,stack

Open Lazydd opened this issue 1 year ago • 0 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

堆叠模式,超过阈值时会将所有消息收起

What does the proposed API look like?

const openNotification = () => {
  notification.open({
    message: 'Notification Title',
    stack: true,
    threshold: 3,
    description:
    'This is the content of the notification.',
  });
};

Lazydd avatar Sep 30 '24 02:09 Lazydd