Skip to content

Commit

Permalink
Fixed typo in scrollbar.d.ts (#4664)
Browse files Browse the repository at this point in the history
* Update scrollbar.d.ts

* Update scrollbar.d.ts

* Update swiper-options.d.ts

* Update swiper-options.d.ts

* Update pagination.d.ts

* Update swiper-options.d.ts

* Update keyboard.d.ts
  • Loading branch information
DAnn2012 authored Jun 13, 2021
1 parent 76dd086 commit ed8a60b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/types/components/keyboard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface KeyboardEvents {

export interface KeyboardOptions {
/**
* Set to `true` to enable keyboard contro
* Set to `true` to enable keyboard control
*
* @default false
*/
Expand Down
2 changes: 1 addition & 1 deletion src/types/components/pagination.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface PaginationOptions {
el?: CSSSelector | HTMLElement | null;

/**
* String with type of pagination. Can be "bullets", "fraction", "progressbar" or "custom"
* String with type of pagination. Can be `'bullets'`, `'fraction'`, `'progressbar'` or `'custom'`
*
* @default 'bullets'
*/
Expand Down
4 changes: 2 additions & 2 deletions src/types/components/scrollbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface ScrollbarOptions {
/**
* Set to `true` to enable make scrollbar draggable that allows you to control slider position
*
* @default true
* @default false
*/
draggable?: boolean;

Expand All @@ -107,7 +107,7 @@ export interface ScrollbarOptions {
lockClass?: string;

/**
* Scrollbar draggable element CSS class
* Scrollbar draggable element CSS class
*
* @default 'swiper-scrollbar-drag'
*/
Expand Down
9 changes: 6 additions & 3 deletions src/types/swiper-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export interface SwiperOptions {
uniqueNavElements?: boolean;

/**
* Transition effect. Can be "slide", "fade", "cube", "coverflow" or "flip"
* Transition effect. Can be `'slide'`, `'fade'`, `'cube'`, `'coverflow'` or `'flip'`
*
* @default 'slide'
*/
Expand Down Expand Up @@ -261,7 +261,7 @@ export interface SwiperOptions {
slidesPerColumn?: number;

/**
* Can be 'column' or 'row'. Defines how slides should fill rows, by column or by row
* Can be `'column'` or `'row'`. Defines how slides should fill rows, by column or by row
*
* @default 'column'
*/
Expand Down Expand Up @@ -946,6 +946,7 @@ export interface SwiperOptions {
* @example
* ```js
* const swiper = new Swiper('.swiper-container', {
* effect: 'coverflow',
* coverflowEffect: {
* rotate: 30,
* slideShadows: false,
Expand All @@ -961,6 +962,7 @@ export interface SwiperOptions {
* @example
* ```js
* const swiper = new Swiper('.swiper-container', {
* effect: 'cube',
* cubeEffect: {
* slideShadows: false,
* },
Expand Down Expand Up @@ -990,6 +992,7 @@ export interface SwiperOptions {
* @example
* ```js
* const swiper = new Swiper('.swiper-container', {
* effect: 'flip',
* flipEffect: {
* slideShadows: false,
* },
Expand Down Expand Up @@ -1094,7 +1097,7 @@ export interface SwiperOptions {
navigation?: NavigationOptions | boolean;

/**
* Object with navigation parameters
* Object with pagination parameters
*
* @example
* ```js
Expand Down

0 comments on commit ed8a60b

Please sign in to comment.