Created
November 5, 2019 01:34
-
-
Save parzibyte/3ab6eaa8cfe256048631ec61f4db610c 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
angular | |
.module("CodigosDeBarras", ["angular-barcode"]) | |
.controller("ControladorPrincipal", ["$scope", function($scope) { | |
$scope.opciones = { | |
format: 'CODE128', | |
lineColor: '#000000', | |
width: 2, | |
height: 100, | |
displayValue: true, | |
fontOptions: '', | |
font: 'monospace', | |
textAlign: 'center', | |
textPosition: 'bottom', | |
textMargin: 2, | |
fontSize: 20, | |
background: '#ffffff', | |
margin: 0, | |
marginTop: undefined, | |
marginBottom: undefined, | |
marginLeft: undefined, | |
marginRight: undefined, | |
valid: function(valid) {} | |
}; | |
$scope.codigos = ["hola", "mundo", "somos", "palabras"]; | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment