How to use it #56
Closed
swotex
started this conversation in
Show and tell
Replies: 1 comment
-
|
Moving the discussion to a wiki : https://github.com/ltuffery/Matcha/wiki/FeedbackToast |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to use FeedbackToast component
How to use it :
Create child
Importe vue and create a child with ref of ref :
if you want you can set height (and max height) of toast container
Props
3 props possibilities (optionnal) :
maxToastsposXstart,center,end)posYtop,middle,bottom)callable function
Create toast :
addErrorString content-> required,json data-> optionnaladdSuccessString content-> required,json data-> optionnaladdInfoString content-> required,json data-> optionnaladdWarningString content-> required,json data-> optionnaljson
datapossibilitiesactionnulltypebtn1timeout3000titlenullExemple :
Beta Was this translation helpful? Give feedback.
All reactions