1.1.0 • Published 6 years ago

@beyerleinf/ngx-cfb v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ngx-cfb

A simple to use component library for Angular.

Table of Contents

  1. Links
  2. Installation & basic usage
  3. Full Documentation

Links

Code Documentation Changelog

Installation & basic usage

You can install ngx-cfb via npm:

npm install --save @beyerleinf/ngx-cfb

Import the Module somewhere:

import { ConnectFourBoardModule } from '@beyerleinf/ngx-cfb';

@NgModule({
  ...
  imports: [ConnectFourBoardModule, ...]
  ...
})

Add the component:

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  board = [[1, 0, 2], [0, 0, 0]];
}
<cfb-board [board]="board"></cfb-board>

Full Documentation

You can check out the complete (auto-generated) documentation here