()
| 22 | * @docs-private |
| 23 | */ |
| 24 | export function throwMatMenuInvalidPositionY() { |
| 25 | throw Error(`yPosition value must be either 'above' or below'. |
| 26 | Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>`); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Throws an exception for the case when a menu is assigned |