<kbq-scrollbar> is a component used to configure scrollbar parameters.

Note

For the component to work, the overlayscrollbars@2.7.3 dependency is required:

npm install overlayscrollbars@2.7.3
  • for a specific scrollbar, using the options attribute:
  • for all scrollbars in a module, using Dependency Injection with the KBQ_SCROLLBAR_CONFIG token:
<kbq-scrollbar
    (onInitialize)="onInitialize($event)"
    (onDestroy)="onDestroy($event)"
    (onScroll)="onScroll($event)"
    (onUpdate)="onUpdate($event)"
>
    ...
</kbq-scrollbar>
Suggestions for improvement
If you found a mistake or want to improve the article, create an issue on GitHub.