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

Function throwMatDuplicatedDrawerError

src/material/sidenav/drawer.ts:54–56  ·  view source on GitHub ↗
(position: string)

Source from the content-addressed store, hash-verified

52 * @docs-private
53 */
54export 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 */
59export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';

Callers 1

_validateDrawersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected