notifyjs
notifyjs copied to clipboard
position: center does not seems to work at all
$.notify("Failed to add the URL.", { position:"center" });
$.notify("Failed to add the URL.", { position:"center top" });
$.notify("Failed to add the URL.", { position:"center middle });
$.notify("Failed to add the URL.", { position:"center bottom" });
All of these produce the following error: Must be one of [t,b,l,r]
If I in any of the examples above change center to example "left", it starts working.
Using 0.4.2.
Ah yep this is a bug, the parser should handle those cases. In the meantime, it works when you do "<v-align> <h-align>": $.notify("Failed to add the URL.", { position:"top center" });