Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 18, 2018 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/b14da0df8a67314783142b5d03d6fc56 to your computer and use it in GitHub Desktop.
Save parzibyte/b14da0df8a67314783142b5d03d6fc56 to your computer and use it in GitHub Desktop.
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