Pinned Loading
-
angular directive to add refresh but...
angular directive to add refresh button to MatPaginator 1import {AfterViewInit, DestroyRef, Directive, ElementRef} from '@angular/core';
2import {MatPaginator} from '@angular/material/paginator';
3import {fromEvent} from 'rxjs';
4import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
5 -
Flatten list of lists using python
Flatten list of lists using python 1# source: https://stackoverflow.com/questions/11264684/flatten-list-of-lists/11264799234def flatten_with_list_comprehension(list_of_lists: list):
5return [val for sublist in list_of_lists for val in sublist]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.