<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>
Docs Feedback
If you have any questions or would like to contribute to writing the documentation, please create an issue in our GitHub repository.