@@ -12,24 +12,23 @@ import {
1212import { Grid , UserConfig } from 'gridjs' ;
1313import { GRIDJS_EVENTS , GRIDJS_PROPS } from './constants' ;
1414
15-
1615@Component ( {
1716 selector : 'gridjs-angular' ,
1817 template : '' ,
1918 encapsulation : ViewEncapsulation . None ,
2019} )
2120export class GridJsAngularComponent
22- implements AfterViewInit , OnChanges , OnDestroy , UserConfig {
21+ implements AfterViewInit , OnChanges , OnDestroy , UserConfig {
2322 private nativeElement : HTMLElement ;
2423 private gridInstance : Grid ;
2524 private initialized : boolean ;
2625 private listeners : Map < string , ( ...args : any [ ] ) => void > = new Map ( ) ;
2726 @Input ( ) config : UserConfig ;
2827 // TODO: auto generate Inputs/Output to easily sync with grid-js main package
2928 // props
30- @Input ( ) plugins : UserConfig [ 'plugins' ] = [ ] ;
31- @Input ( ) eventEmitter : UserConfig [ 'eventEmitter' ] ;
32- @Input ( ) dispatcher :UserConfig [ 'dispatcher' ] ;
29+ @Input ( ) plugins : UserConfig [ 'plugins' ] = [ ] ;
30+ @Input ( ) eventEmitter : UserConfig [ 'eventEmitter' ] ;
31+ @Input ( ) dispatcher : UserConfig [ 'dispatcher' ] ;
3332 @Input ( ) plugin : UserConfig [ 'plugin' ] ;
3433 @Input ( ) data : UserConfig [ 'data' ] ;
3534 @Input ( ) server : UserConfig [ 'server' ] ;
@@ -46,9 +45,10 @@ export class GridJsAngularComponent
4645 @Input ( ) fixedHeader : UserConfig [ 'fixedHeader' ] ;
4746 @Input ( ) columns : UserConfig [ 'columns' ] ;
4847 @Input ( ) search : UserConfig [ 'search' ] ;
49- @Input ( ) pagination :UserConfig [ 'pagination' ] ;
50- @Input ( ) sort :UserConfig [ 'sort' ] ;
48+ @Input ( ) pagination : UserConfig [ 'pagination' ] ;
49+ @Input ( ) sort : UserConfig [ 'sort' ] ;
5150 @Input ( ) language : UserConfig [ 'language' ] ;
51+ @Input ( ) resizable : UserConfig [ 'resizable' ] ;
5252
5353 // events
5454 @Output ( ) beforeLoad : EventEmitter < void > = new EventEmitter ( true ) ;
0 commit comments