ElementDimensions
Размеры элемента и его положение относительно области просмотра.
API
interface ElementDimensions {
top: number;
left: number;
width: number;
height: number;
}
top
numberРасстояние от верхнего края области просмотра в пикселях
left
numberРасстояние от левого края области просмотра в пикселях
width
numberШирина элемента в пикселях
height
numberВысота элемента в пикселях
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/cdk/testing/ElementDimensions