Skip to content

Commit

Permalink
fix(core): add missing types comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed May 16, 2022
1 parent 7702178 commit 340f716
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types/modules/free-mode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ export interface FreeModeMethods {
export interface FreeModeEvents {}

export interface FreeModeOptions {
/**
* Whether the free mode is enabled
*
* @default undefined
*/
enabled?: boolean;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/types/modules/lazy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export interface LazyEvents {
export interface LazyOptions {
/**
* Whether the lazy loading images is enabled
*
* @default undefined
*/
enabled?: boolean;
/**
Expand Down
5 changes: 5 additions & 0 deletions src/types/modules/virtual.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ export interface VirtualData {
}

export interface VirtualOptions {
/**
* Whether the virtual slides are enabled
*
* @default undefined
*/
enabled?: boolean;
/**
* Array with slides
Expand Down

0 comments on commit 340f716

Please sign in to comment.