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

Function throwMatMenuInvalidPositionX

src/material/menu/menu-errors.ts:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 * @docs-private
13 */
14export function throwMatMenuInvalidPositionX() {
15 throw Error(`xPosition value must be either 'before' or after'.
16 Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>`);
17}
18
19/**
20 * Throws an exception for the case when menu's y-position value isn't valid.

Callers 1

xPositionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected