-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNotify.defaultStack not work #327
Comments
What version are you using? |
v4 |
Can you show me your code? I'm not sure what you're trying to do. |
|
As long as it's not on one line like that (so the comment doesn't comment out the closing }, that should work. Are you running it after loading PNotify? |
yes,can you send sample of this ?that's the position in top left and a little bit down |
Try it like this: document.addEventListener('DOMContentLoaded', function() {
PNotify.defaultStack = { "dir1": "down", "dir2": "left", "firstpos1": 25, "firstpos2": 25, "spacing1": 36, "spacing2": 36, "push": "top", "context": document.body };
}); |
how to set default PNotify.defaultStack?
i did this but didnt get any result
The text was updated successfully, but these errors were encountered: