MCPcopy Create free account
hub / github.com/angular/components / getDimensions

Method getDimensions

src/cdk/testing/test-element.ts:154–154  ·  view source on GitHub ↗

Gets the dimensions of the element.

()

Source from the content-addressed store, hash-verified

152
153 /** Gets the dimensions of the element. */
154 getDimensions(): Promise<ElementDimensions>;
155
156 /** Gets the value of a property of an element. */
157 getProperty<T = any>(name: string): Promise<T>;

Callers 2

isDismissedMethod · 0.65
crossEnvironmentSpecsFunction · 0.65

Implementers 3

ProtractorElementsrc/cdk/testing/protractor/protractor-
SeleniumWebDriverElementsrc/cdk/testing/selenium-webdriver/sel
UnitTestElementsrc/cdk/testing/testbed/unit-test-elem

Calls

no outgoing calls

Tested by

no test coverage detected