Position/GlobalPosition/ElementPosition not documented on website.
"position" is not documented in the list of "Options" on http://notifyjs.com/
And,
elementPosition: 'bottom left',
globalPosition: 'top right',
Are in the documentation for "Options" but there are no examples of the two. In my own experience this works,
$.notify('hello', {position:"top center"})
Even more interesting, the code
$.notify('hello', {globalPosition:"top", position:"center"})
Does not work.. and returns
notify.js:409 Uncaught Must be one of [t,b,l,r]
This also does not work,
$.notify('hello', {globalPosition:"top", position:"center"})
I'm not sure why that triggers when there is a position, or why "c" isn't provided in that error message [t,b,l,r]. And, lastly,
$.notify('hello', {position:"t c"})
Works, but isn't documented anywhere..
Indeed it is missing, those ones are the defaults for each
- global: $.(msg, opts)
- element: $(selector).notify(msg, opts)
and so then opts.position overrides the default for each
Hey @EvanCarroll is this https://notifyjs.com/#position more informative?
hi, I cannot change the position of the notification using :
<script>$.notify("HI", "Warning", {autoHideDelay: false, position: "top center"});</script>
Any idea ?