Skip to content

Instantly share code, notes, and snippets.

@AlexanderKozhevin
Last active May 8, 2017 12:25
Show Gist options
  • Select an option

  • Save AlexanderKozhevin/c6d40e4da848c478c8523b83e38bd6f0 to your computer and use it in GitHub Desktop.

Select an option

Save AlexanderKozhevin/c6d40e4da848c478c8523b83e38bd6f0 to your computer and use it in GitHub Desktop.
<grid [mdGrid]="[2,1]" [xsGrid]="[1,2]" ratio="[1,1]">
</grid>
// @Input() xsGrid: Array<number>; // 0 - 599 mobile
// @Input() smGrid: Array<number>; // 600 - 959 Tablet
// @Input() mdGrid: Array<number> = [4,1]; // 960 - 1279 Desktop
// @Input() lgGrid: Array<number>; // 1280 - 1919
// @Input() xlGrid: Array<number>; // 1920
// @Input() xsRatio: Array<number>;
// @Input() smRatio: Array<number>;
// @Input() mdRatio: Array<number> = [1,1];
// @Input() lgRatio: Array<number>;
// @Input() xlRatio: Array<number>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment