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 😅😅

14th Oct 2020, 4:34 PM
Kapish M Kantharia ( available)
Kapish M Kantharia ( available) - avatar
3 odpowiedzi
+ 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
14th Oct 2020, 4:46 PM
Abhay
Abhay - avatar
+ 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
14th Oct 2020, 4:54 PM
VSR [ DEV ]
VSR [ DEV ] - avatar