/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/scrolling/virtual-scroll-viewport.html
13 строк
515 B
Andrew Scott
fix(cdk-experimental/scrolling): Fix ExpressionChangedAfterItWasCheckedError (#31076)
21 май 2025, 18:11
Не верифицирован
21 май 2025, 18:11
9d27352
Код
Авторство
О чём код?
<!-- Wrap the rendered content in an element that will be used to offset it based on the scroll position. --> <div #contentWrapper class="cdk-virtual-scroll-content-wrapper"> <ng-content></ng-content> </div> <!-- Spacer used to force the scrolling container to the correct size for the *total* number of items so that the scrollbar captures the size of the entire data set. --> <div class="cdk-virtual-scroll-spacer" [style.width]="_totalContentWidth()" [style.height]="_totalContentHeight()"></div>