Closed malikdoksoz closed 3 years ago
Hi @malikdoksoz
Firstly, thanks for using Notiflix.
The position
option, is a common option for the Notify module as you can see in the documentation as well.
https://www.notiflix.com/documentation#DocsNotify
Unfortunately, you can not able to use the position option as different for each notification element at the same time. So, you have to wait for all the existing notifications removal to set a new position for the next ones.
In addition, I noted this request as a "nice to have" feature for future updates.
Thanks. Furkan.
Tip: You can use the new options for each notification as a parameter with v2.3.1 and the next versions. An example of usage is below.
// you do not have to use the Merge function for that,
Notiflix.Notify.Merge({
timeout: timeout,
fontSize: fontSize,
position: position,
cssAnimationStyle: cssAnimationStyle
});
Notiflix.Notify.Failure(message);
// v2.3.1 and the next versions:
Notiflix.Notify.Failure(message, {
timeout: timeout,
fontSize: fontSize,
position: position,
cssAnimationStyle: cssAnimationStyle
});
Hi @malikdoksoz
Firstly, thanks for using Notiflix.
The
position
option, is a common option for the Notify module as you can see in the documentation as well. https://www.notiflix.com/documentation#DocsNotifyUnfortunately, you can not able to use the position option as different for each notification element at the same time. So, you have to wait for all the existing notifications removal to set a new position for the next ones.
In addition, I noted this request as a "nice to have" feature for future updates.
Thanks. Furkan.
Tip: You can use the new options for each notification as a parameter with v2.3.1 and the next versions. An example of usage is below.
// you do not have to use the Merge function for that, Notiflix.Notify.Merge({ timeout: timeout, fontSize: fontSize, position: position, cssAnimationStyle: cssAnimationStyle }); Notiflix.Notify.Failure(message); // v2.3.1 and the next versions: Notiflix.Notify.Failure(message, { timeout: timeout, fontSize: fontSize, position: position, cssAnimationStyle: cssAnimationStyle });
Thank your for suggestion. In the next version, it would be great if added.
Version: 2.6.0
If the right is called before the notification on the left is closed, the notification appears on the left.