0
Plz someone answer me
({ title: "BLOG ON EPIC GAMES", text: "This blog is made for EPIC GAMES ", icon: "success", button: "continue" }); } Can anyone make me this understand that whats this and how it works And plz give me 1 example đ đ
3 Answers
+ 2
What I think is that alert function is taking a object {} with keys title ,text ,icon and button and values which decide what that function will render for a particular container element that you see on screen , success and continue is probably classNames for a which a particular style is set in the css stylesheet
+ 2
This is a sweetalert() function. It is just like alert() in JavaScript but it is better than alert in JavaScript.
Go to google and search for Sweetalert it will giving you more information.
Check this đđđ
https://code.sololearn.com/Wt5p4O33LVUA/?ref=app