We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Solved[how to set position of toast?]

Thread ID:

Created:

Updated:

Platform:

Replies:

146357 Aug 1,2019 08:32 AM UTC Aug 5,2019 07:01 AM UTC React - EJ 2 3
loading
Tags: Toast
safronco safronco
Asked On August 1, 2019 08:32 AM UTC

hi
i'm confusing after read toast React Syncfusion documentation for set position.
any clear example for this configuration?
i want set my toast to top right.
thanks

Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 3, 2019 04:53 AM UTC

Hi safronco, 
 
Greetings from Syncfusion support. 
 
In documentation we have documented Toast position sample to expose different possibility combinations of position. For the purpose of exposing feasibility of using position api, we used Dropdownlist, radio buttons and button components in sample. So that it may seems many lines of code being used. 
 
For your convenience we have prepared a simple sample as per your requirement: https://stackblitz.com/edit/react-zckwrm 
 
Please find the reference for position API: https://ej2.syncfusion.com/react/documentation/api/toast/#position 
 
Regards, 
Narayanasamy P. 


safronco safronco
Replied On August 3, 2019 09:24 AM UTC

solved...

    constructor() {
        super(...arguments);
        this.position = { X: 'Right', Y: 'Top' }
       
    }

Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 5, 2019 07:01 AM UTC

  
Hi Safronco, 
Most welcome. 
 
We are glad to hear that your issue has been resolved at your end. 
 
Regards, 
Narayanasamy P. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon