From 90610bff566f2fec384e50cf800ed530b066aa6a Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Mon, 30 May 2022 18:08:31 +0300 Subject: [PATCH] chore: types tweaks --- src/types/modules/navigation.d.ts | 4 ++++ src/types/modules/pagination.d.ts | 4 ++++ src/types/modules/scrollbar.d.ts | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/types/modules/navigation.d.ts b/src/types/modules/navigation.d.ts index 0777df7cb..fcb2ad964 100644 --- a/src/types/modules/navigation.d.ts +++ b/src/types/modules/navigation.d.ts @@ -40,6 +40,10 @@ export interface NavigationEvents { } export interface NavigationOptions { + /** + * Boolean property to use with breakpoints to enable/disable navigation on certain breakpoints + */ + enabled?: boolean; /** * String with CSS selector or HTML element of the element that will work * like "next" button after click on it diff --git a/src/types/modules/pagination.d.ts b/src/types/modules/pagination.d.ts index c7ecf915b..c60567374 100644 --- a/src/types/modules/pagination.d.ts +++ b/src/types/modules/pagination.d.ts @@ -59,6 +59,10 @@ export interface PaginationEvents { } export interface PaginationOptions { + /** + * Boolean property to use with breakpoints to enable/disable pagination on certain breakpoints + */ + enabled?: boolean; /** * String with CSS selector or HTML element of the container with pagination * diff --git a/src/types/modules/scrollbar.d.ts b/src/types/modules/scrollbar.d.ts index b21fb230c..b49c9629e 100644 --- a/src/types/modules/scrollbar.d.ts +++ b/src/types/modules/scrollbar.d.ts @@ -64,6 +64,10 @@ export interface ScrollbarEvents { * ``` */ export interface ScrollbarOptions { + /** + * Boolean property to use with breakpoints to enable/disable scrollbar on certain breakpoints + */ + enabled?: boolean; /** * String with CSS selector or HTML element of the container with scrollbar. *