# Perfect Scrollbar

We have used **global registration** in whole template for perfect scrollbar.

Please refer to the official docs [here](https://github.com/mercs600/vue3-perfect-scrollbar#local-registration).

## Setup

**main.ts** (for globally setup)

```typescript
import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar'

import 'vue3-perfect-scrollbar/style.css' // for scrollbar css

app.use(PerfectScrollbarPlugin)

```

## How to use in our local files ?

```actionscript
<PerfectScrollbar style="height: 265px"> // Set height as per your content
        // Add long content
</PerfectScrollbar>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://phoenixcoded.gitbook.io/able-pro/vue-laravel/perfect-scrollbar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
