• Overview
@angular/cdk/testing

ElementDimensions

interface

Dimensions for element size and its position relative to the viewport.

API

  
    interface ElementDimensions {}
  
  

top

number

The distance from the top of the viewport in pixels

left

number

The distance from the left of the viewport in pixels

width

number

The width of the element in pixels

height

number

The height of the element in pixels

Jump to details