Skip to content

Commit

Permalink
feat: add string type for effect param
Browse files Browse the repository at this point in the history
fixes #6676
  • Loading branch information
nolimits4web committed May 15, 2023
1 parent 4fe50de commit 7340629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/swiper-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export interface SwiperOptions {
*
* @default 'slide'
*/
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | 'creative' | 'cards';
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | 'creative' | 'cards' | string;

/**
* Fire Transition/SlideChange/Start/End events on swiper initialization.
Expand Down

0 comments on commit 7340629

Please sign in to comment.