Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
3.2 KB
|
Line | |
---|
1 | {"version":3,"file":"grid-list.d.ts","sources":["grid-list.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { AfterContentChecked, OnInit, QueryList, ElementRef } from '@angular/core';\nimport { MatGridTile } from './grid-tile';\nimport { TileStyleTarget } from './tile-styler';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { NumberInput } from '@angular/cdk/coercion';\nimport { MatGridListBase } from './grid-list-base';\nexport declare class MatGridList implements MatGridListBase, OnInit, AfterContentChecked, TileStyleTarget {\n private _element;\n private _dir;\n /** Number of columns being rendered. */\n private _cols;\n /** Used for determiningthe position of each tile in the grid. */\n private _tileCoordinator;\n /**\n * Row height value passed in by user. This can be one of three types:\n * - Number value (ex: \"100px\"): sets a fixed row height to that value\n * - Ratio value (ex: \"4:3\"): sets the row height based on width:height ratio\n * - \"Fit\" mode (ex: \"fit\"): sets the row height to total height divided by number of rows\n */\n private _rowHeight;\n /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n private _gutter;\n /** Sets position and size styles for a tile */\n private _tileStyler;\n /** Query list of tiles that are being rendered. */\n _tiles: QueryList<MatGridTile>;\n constructor(_element: ElementRef<HTMLElement>, _dir: Directionality);\n /** Amount of columns in the grid list. */\n get cols(): number;\n set cols(value: number);\n /** Size of the grid list's gutter in pixels. */\n get gutterSize(): string;\n set gutterSize(value: string);\n /** Set internal representation of row height from the user-provided value. */\n get rowHeight(): string | number;\n set rowHeight(value: string | number);\n ngOnInit(): void;\n /**\n * The layout calculation is fairly cheap if nothing changes, so there's little cost\n * to run it frequently.\n */\n ngAfterContentChecked(): void;\n /** Throw a friendly error if cols property is missing */\n private _checkCols;\n /** Default to equal width:height if rowHeight property is missing */\n private _checkRowHeight;\n /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n private _setTileStyler;\n /** Computes and applies the size and position for all children grid tiles. */\n private _layoutTiles;\n /** Sets style on the main grid-list element, given the style name and value. */\n _setListStyle(style: [string, string | null] | null): void;\n static ngAcceptInputType_cols: NumberInput;\n}\n"]} |
---|
Note:
See
TracBrowser
for help on using the repository browser.