You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I am setting the position for top-right,It should show notification in top-right.
Here, I am using the below Syntax. alertify.set('notifier','position', 'top-right');
alertify.success('Current position : ' + alertify.get('notifier','position'));
Actual behavior
when i am giving position, its not working and throwing error that alertify.set is not a function.
Steps to reproduce the behavior
Version of Alertify in use
"alertify.js": "^1.0.12"
The text was updated successfully, but these errors were encountered:
Here is the solution..
->Put the below syntax in your stylesheet.
.alertify-logs.right {
right: 0;
width: 20%;
}
.alertify-logs.right > .default,
.alertify-logs.right > .success,
.alertify-logs.right > .error {
transform: translateX(-5%);
transform: translateY(20%);
text-align: left;
}
-> use this in your template.
alertify.logPosition("top right");
alertify.error('thanks,it worked like a charm')
Expected behavior
when I am setting the position for top-right,It should show notification in top-right.
Here, I am using the below Syntax.
alertify.set('notifier','position', 'top-right');
alertify.success('Current position : ' + alertify.get('notifier','position'));
Actual behavior
when i am giving position, its not working and throwing error that alertify.set is not a function.
Steps to reproduce the behavior
Version of Alertify in use
"alertify.js": "^1.0.12"
The text was updated successfully, but these errors were encountered: