()
| 12 | * @docs-private |
| 13 | */ |
| 14 | export 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. |