coggames
v0.0.47
Published
* package.json set version * ng build coggames --prod * copy 'assets' folder from 'projects/coggames/src/' to 'dist/coggames' * step in 'dist/coggames' and 'npm publish'
Downloads
10
Readme
Mastermind Coggames
source: projekts/coggames
to publish:
- package.json set version
- ng build coggames --prod
- copy 'assets' folder from 'projects/coggames/src/' to 'dist/coggames'
- step in 'dist/coggames' and 'npm publish'
use coggames in your project:
- npm i coggames
- xy.module.ts: import { CoggamesModule } from 'coggames';
- xy.component.html: <cog-mastermind (results)="saveResult($event)" [optScale] = 1>
- results: returns the result
- optscale: u can set a scale to the window 1=100%->0=0%, (default=1)