ScrollButtonsDirective
directive
Directive that adds left/right scroll buttons around the host element when its content overflows horizontally. The directive restructures the DOM by wrapping the host inside a scroll container with navigation buttons.
Example :
<mat-chip-grid yuvScrollButtons>...</mat-chip-grid>Example :
<div yuvScrollButtons [yuvScrollButtonsAmount]="200">...</div>Directive Metadata
Section titled “Directive Metadata”Selector: [yuvScrollButtons]
Standalone: No
Inputs
Section titled “Inputs”yuvScrollButtonsAmount
Section titled “yuvScrollButtonsAmount”Type: any
Default Value: DEFAULT_SCROLL_AMOUNT
How many pixels to scroll per button click.