API Reference / @dasch-ng/material-right-sheet / MatRightSheetConfig
Class: MatRightSheetConfig<D>
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:22
Configuration used when opening a right sheet.
Type Parameters
D
D = any
Constructors
Constructor
new MatRightSheetConfig<
D>():MatRightSheetConfig<D>
Returns
MatRightSheetConfig<D>
Properties
ariaLabel?
optionalariaLabel:string|null=null
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:45
Aria label to assign to the bottom sheet element.
autoFocus?
optionalautoFocus:string|boolean='dialog'
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:62
Where the bottom sheet should focus on open.
Breaking-change
14.0.0 Remove boolean option from autoFocus. Use string or AutoFocusTarget instead.
backdropClass?
optionalbackdropClass:string
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:39
Custom class for the backdrop.
closeOnNavigation?
optionalcloseOnNavigation:boolean=true
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:52
Whether the bottom sheet should close when the user goes backwards/forwards in history. Note that this usually doesn't include clicking on links (unless the user is using the HashLocationStrategy).
data?
optionaldata:D|null=null
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:33
Data being injected into the child component.
direction?
optionaldirection:Direction
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:30
Text layout direction for the bottom sheet.
disableClose?
optionaldisableClose:boolean=false
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:42
Whether the user can use escape or clicking outside to close the bottom sheet.
hasBackdrop?
optionalhasBackdrop:boolean=true
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:36
Whether the bottom sheet has a backdrop.
panelClass?
optionalpanelClass:string|string[]
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:27
Extra CSS classes to be added to the bottom sheet container.
restoreFocus?
optionalrestoreFocus:boolean=true
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:68
Whether the bottom sheet should restore focus to the previously-focused element, after it's closed.
scrollStrategy?
optionalscrollStrategy:ScrollStrategy
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:71
Scroll strategy to be used for the bottom sheet.
viewContainerRef?
optionalviewContainerRef:ViewContainerRef
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:24
The view container to place the overlay for the bottom sheet into.
width?
optionalwidth:string
Defined in: libs/material/right-sheet/src/lib/right-sheet.config.ts:76
width of overlay