(position: string)
| 52 | * @docs-private |
| 53 | */ |
| 54 | export function throwMatDuplicatedDrawerError(position: string) { |
| 55 | throw Error(`A drawer was already declared for 'position="${position}"'`); |
| 56 | } |
| 57 | |
| 58 | /** Options for where to set focus to automatically on dialog open */ |
| 59 | export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading'; |