Skip to content

Instantly share code, notes, and snippets.

View mzellho's full-sized avatar
Everybody will blame Somebody when Nobody did what Anybody could have.

Maximilian Zellhofer mzellho

Everybody will blame Somebody when Nobody did what Anybody could have.
View GitHub Profile
// based on Алексей Сердюков's answer at Stackoverflow (https://stackoverflow.com/a/50837219/1143392)
import {
Directive,
Input,
OnDestroy,
OnInit
} from '@angular/core';
import { MediaObserver } from '@angular/flex-layout';
import { MatGridList } from '@angular/material';