Move toasts to be used as Vue plugins #32

Closed
opened 2020-09-07 08:48:47 +00:00 by KevinMidboe · 1 comment
KevinMidboe commented 2020-09-07 08:48:47 +00:00 (Migrated from github.com)

image

Idea

Be able to call on toasts from anywhere with something like:

this.$notifications.info({
  title: "Title text",
  description: "Description if set",
  timeout: 3500,
  link: '[route to link to]'
})

Could register notification types as:notifications.error, .warning or with a type/color parameter.

![image](https://user-images.githubusercontent.com/2287769/92368170-abe94000-f0f7-11ea-99cc-bebb05681979.gif) ## Idea Be able to call on toasts from anywhere with something like: ```javacript this.$notifications.info({ title: "Title text", description: "Description if set", timeout: 3500, link: '[route to link to]' }) ``` Could register notification types as:`notifications.error`, `.warning` or with a `type`/`color` parameter.
KevinMidboe commented 2021-02-20 12:47:39 +00:00 (Migrated from github.com)

Added in PR #75

Added in PR #75
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KevinMidboe/vinlottis#32
No description provided.