Started by James CharlesSep 4, 2021

Open
How Can I Center the "Confirm Window" Alert in the Center of the Page Using React

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I am facing Issue with "Confirm Window" Alert...I need to center the "Window.Confirm" alert in the Center of the Page, But it is showing at the Top of the Page.. Can Anyone Help me How Can I do that, Here In the Delete Function I am Dispatching an Action through Redux, Can Anyone Please Help me in this, Thanks in Advance..

Delete Function with Confirm Window :

const deleteData =(productId) =>{
if(window.confirm('Are You Sure, You want delete?')){
dispatch(allActions.deleteData(productId))
}

}

0 Replies

You must be Logged in to reply
Techiio

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

facebooklinkdeintwitter

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Copyright techiio.com @2020 Kolkata, India
made with by Abhishek & Priyanka Jalan
Copyright techiio.com @2020
made with by Abhishek & Priyanka Jalan