TIL 6-9-21

Angular mat tree data source options

These data source options seem to be the same as mat data table, & angular cdk (yet to look into it๐Ÿ˜…)

  • Data Array
    • T[ ]
  • Observable of data arrays
    • Observable<T[ ]>
  • DataSource with connect and disconnect methods
    • connect(): Observable<T[ ]>
    • disconnect(): void