@mkthripathi/tringle
v0.1.6
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.0.
Downloads
3
Readme
Tringle
This library was generated with Angular CLI version 8.2.0.
How to use
rowNumber = It accept number
postion = it accept boolen and represent tringle postion top or bottom if (Top is mean true otherwise false)
/*
*
**
***
****
*****
*/
repeatPrintValue = If you want to reapeat
/*
1
22
333
4444
55555
*/
Code : <mk-tringle [rowNumber]='10' [postion]="Top" [repeatPrintValue]="No" [printValue]="*" [colorName]="Red" [clearPrint]="No" (selectValue)="addItem($event)">
Code scaffolding
Run ng generate component component-name --project tringle
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project tringle
.
Note: Don't forget to add
--project tringle
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build tringle
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build tringle
, go to the dist folder cd dist/tringle
and run npm publish
.
Running unit tests
Run ng test tringle
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 README.
Author
Manish Tiwari