/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/table/can-stick.ts
24 строки
783 B
Kristiyan Kostadinov
fix(cdk/table): breaking changes for v20
06 мар 2025, 20:52
06 мар 2025, 20:52
8078efc
Код
Авторство
О чём код?
/** * @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 */ /** * Interface for a mixin to provide a directive with a function that checks if the sticky input has * been changed since the last time the function was called. Essentially adds a dirty-check to the * sticky value. * @docs-private */ export interface CanStick { /** Whether sticky positioning should be applied. */ sticky: boolean; /** Whether the sticky value has changed since this was last called. */ hasStickyChanged(): boolean; /** Resets the dirty check for cases where the sticky state has been used without checking. */ resetStickyChanged(): void; }