0.0.5 • Published 2 years ago

libreria-demo v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

LibreriaDemo

This library was generated with Angular CLI version 13.1.0.

Instalación e importación

1) Ingrese el comando npm i libreria-demo en su proyecto Angular y espere la correspondiente instalación. 2) En el archivo 'app.module.ts' sección imports agregue LibreriaDemoModule. Coloque en el encabezado del archivo: import { LibreriaDemoModule } from 'libreria-demo';

Descripcion

En su archivo HTML coloque el siguiente tag: <lib-libreriaDemo></lib-libreriaDemo>

Los parámetros son: accion: función que se activaría al presionar el botón configuracion: estructura que contiene los datos de la empresa y su metodo de firma nombreEmpresa: string metodoFirma: string url: string para consumir servicio

Ejemplo de uso: 1) En su .ts defina la siguiente estructura y funcion valor = 'Servicio'; config: Configuracion = { nombreEmpresa: "SAETA", metodoFirma: "URL", url: "ingreselink" }; public firmar(event:any){ console.log("Ahora firmo a través de un "+event); }

2) En su .html pegue la siguiente estructura <lib-libreriaDemo (accion)="firmar(valor)" [configuracion]="config"></lib-libreriaDemo>

Running unit tests

Run ng test libreriaDemo to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago