Nanobots Producing Megastructures

    ngx-table-input
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.3 • Public • Published

    NgxTableInput

    table input component for angular

    using ng-packagr

    It is a form part that can input flags for multiple items horizontally and vertically

    For example, you can check on combination of the days of the week and time

    demo

    Usage

    npm install -S ngx-table-input
    

    And import into your NgModule

    import {NgModule} from '@angular/core';
    import {TableInputModule} from 'ngx-table-input';
    
    @NgModule({
      imports: [TableInputModule],
    })
    

    using your component.

    • your.component.html
    <table-input [(ngModel)]="params"
                 [rowLabels]="['hoge','fuga','piyo']"
                 [colLabels]="['AA','BB','CC']"
                 [rows]="3"
                 [cols]="3">
    </table-input>
    

    Reference

    inputs

    rows

    • type: number
      • number of lines

    cols

    • type: number
      • number of columns

    rowlabels

    • type: string[]
      • line labels

    collabels

    • type: string[]
      • column labels

    Keywords

    none

    Install

    npm i ngx-table-input

    DownloadsWeekly Downloads

    9

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • swfz