Skip to content

Instantly share code, notes, and snippets.

@PxyUp
Last active October 25, 2018 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PxyUp/bc32d51d178f558421899c6170546d77 to your computer and use it in GitHub Desktop.
Save PxyUp/bc32d51d178f558421899c6170546d77 to your computer and use it in GitHub Desktop.
input.table.ts
@Input() itemSize = 25; // for itemHeight
@Input() dataSource: Observable<Array<VirtualTableItem | number | string | boolean>>;
@Input() filterPlaceholder = 'Filter';
@Input() dataSetEmptyPlaceholder = 'Data is empty';
@Input() config: VirtualTableConfig;
@Input() onRowClick: (item: VirtualTableItem) => void;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment