Created
December 18, 2018 19:28
-
-
Save parzibyte/b14da0df8a67314783142b5d03d6fc56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.config(["NotificationProvider", function (NotificationProvider) { | |
/** | |
* Configurar opciones por defecto | |
*/ | |
NotificationProvider.setOptions({ | |
delay: "nunca",// Después de cuántos milisegundos se oculta. Si no se le pasa un int, se muestra hasta que se le hace click | |
startTop: 20,// Posición inicial con respecto a arriba | |
startRight: 10,// Posición inicial con respecto a la derecha | |
verticalSpacing: 20, | |
horizontalSpacing: 20, | |
positionX: 'right',//En X, mostrarla a la derecha (puede ser left o right) | |
positionY: 'top'// En Y, mostrarla arriba (Puede ser bottom o top) | |
}); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment