Skip to content

Commit

Permalink
chore: types tweaks
Browse files Browse the repository at this point in the history
nolimits4web committed May 30, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3f09fc7 commit 90610bf
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types/modules/navigation.d.ts
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions src/types/modules/pagination.d.ts
Original file line number Diff line number Diff line change
@@ -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
*
4 changes: 4 additions & 0 deletions src/types/modules/scrollbar.d.ts
Original file line number Diff line number Diff line change
@@ -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.
*

0 comments on commit 90610bf

Please sign in to comment.