Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Version 6.3.0

Compare
Choose a tag to compare
@pburtchaell pburtchaell released this 16 Oct 01:41
· 118 commits to master since this release

This release enables notifications to be programmatically dismissed in a notification stack, preserving the slide-out animation. A deactivate callback is passed as a parameter to onClick. When this is called, the animation will deactivate, preserving animation.

onClick: (deactivate) => {
  deactivate();
   setTimeout(() => this.removeNotification('some UID'), 400);
}

There is a more complete example in the README. Thanks to @ecfairle for the PR. 😄