/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/aria/private/grid/row.ts
33 строки
950 B
Kristiyan Kostadinov
build: rename ui-patterns to private (#32174)
24 окт 2025, 17:19
Не верифицирован
24 окт 2025, 17:19
022dba9
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {SignalLike} from '../behaviors/signal-like/signal-like'; import type {GridPattern} from './grid'; import type {GridCellPattern} from './cell'; /** The inputs for the `GridRowPattern`. */ export interface GridRowInputs { /** The `GridPattern` that this row belongs to. */ grid: SignalLike<GridPattern>; /** The cells that make up this row. */ cells: SignalLike<GridCellPattern[]>; /** The index of this row within the grid. */ rowIndex: SignalLike<number | undefined>; } /** The UI pattern for a grid row. */ export class GridRowPattern { /** The index of this row within the grid. */ rowIndex: SignalLike<number | undefined>; constructor(readonly inputs: GridRowInputs) { this.rowIndex = inputs.rowIndex; } }