mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 11:50:36 +03:00
overlayscrollbars-vue v0.5.1
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
The TypeScript interfaces `OverlayScrollbarsProps` and `OverlayScrollbarsRef` are exported from the package.
|
||||||
|
|
||||||
## 0.5.0
|
## 0.5.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ const Component = {
|
|||||||
*
|
*
|
||||||
* const options = ref();
|
* const options = ref();
|
||||||
* const events = ref();
|
* const events = ref();
|
||||||
|
* const defer = ref();
|
||||||
* const [initialize, instance] = useOverlayScrollbars({
|
* const [initialize, instance] = useOverlayScrollbars({
|
||||||
* options,
|
* options,
|
||||||
* events,
|
* events,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "overlayscrollbars-vue",
|
"name": "overlayscrollbars-vue",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"description": "OverlayScrollbars for Vue.",
|
"description": "OverlayScrollbars for Vue.",
|
||||||
"author": "Rene Haas | KingSora",
|
"author": "Rene Haas | KingSora",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
import type { OverlayScrollbars, PartialOptions, EventListeners } from 'overlayscrollbars';
|
import type { OverlayScrollbars, PartialOptions, EventListeners } from 'overlayscrollbars';
|
||||||
|
|
||||||
export interface OverlayScrollbarsComponentProps {
|
export interface OverlayScrollbarsComponentProps {
|
||||||
|
/** Tag of the root element. */
|
||||||
element?: string;
|
element?: string;
|
||||||
|
/** OverlayScrollbars options. */
|
||||||
options?: PartialOptions | false | null;
|
options?: PartialOptions | false | null;
|
||||||
|
/** OverlayScrollbars events. */
|
||||||
events?: EventListeners | false | null;
|
events?: EventListeners | false | null;
|
||||||
|
/** Whether to defer the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) */
|
||||||
defer?: boolean | IdleRequestOptions;
|
defer?: boolean | IdleRequestOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
export { default as OverlayScrollbarsComponent } from './OverlayScrollbarsComponent.vue';
|
export { default as OverlayScrollbarsComponent } from './OverlayScrollbarsComponent.vue';
|
||||||
|
export * from './OverlayScrollbarsComponent.types';
|
||||||
export * from './useOverlayScrollbars';
|
export * from './useOverlayScrollbars';
|
||||||
|
|||||||
Reference in New Issue
Block a user