项目初始化

This commit is contained in:
Taric Xin
2021-11-26 16:34:35 +08:00
parent 66644bcf0a
commit 5287578452
354 changed files with 45736 additions and 0 deletions

View File

@ -0,0 +1,24 @@
---
order: 40
title: scrollbar
type: Component
---
Based on [perfect-scrollbar](http://utatti.github.io/perfect-scrollbar/) perfect custom scrollbar plugin, [DEMO](https://preview.ng-alain.com/pro/#/other/chat).
## API
| Property | Description | Type | Default |
| ----------------- | ------------------------ | ------------------- | ------- |
| `[options]` | [Options](https://github.com/utatti/perfect-scrollbar#options) | `ScrollbarOptions` | - |
| `[disabled]` | Whether to disable | `boolean` | `false` |
| `[psScrollX]` | `ps-scroll-x` event | `EventEmitter<any>` | - |
| `[psScrollY]` | `ps-scroll-y` event | `EventEmitter<any>` | - |
| `[psScrollUp]` | `ps-scroll-up` event | `EventEmitter<any>` | - |
| `[psScrollDown]` | `ps-scroll-down` event | `EventEmitter<any>` | - |
| `[psScrollLeft]` | `ps-scroll-left` event | `EventEmitter<any>` | - |
| `[psScrollRight]` | `ps-scroll-right` event | `EventEmitter<any>` | - |
| `[psXReachStart]` | `ps-x-reach-start` event | `EventEmitter<any>` | - |
| `[psXReachEnd]` | `ps-x-reach-end` event | `EventEmitter<any>` | - |
| `[psYReachStart]` | `ps-y-reach-start` event | `EventEmitter<any>` | - |
| `[psYReachEnd]` | `ps-y-reach-end` event | `EventEmitter<any>` | - |