NaotoshiFujita 3 rokov pred
rodič
commit
9c57e67fb6

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/js/splide.js.map


+ 1 - 1
src/js/components/Controller/Controller.ts

@@ -306,7 +306,7 @@ export function Controller( Splide: Splide, Components: Components, options: Opt
   }
 
   /**
-   * Returns the current/previous index slide index.
+   * Returns the current/previous index.
    *
    * @param prev - Optional. Whether to return previous index or not.
    */

+ 3 - 3
src/js/components/Slides/Slides.ts

@@ -32,7 +32,7 @@ export interface  SlidesComponent extends BaseComponent {
   get( excludeClones?: boolean ): SlideComponent[];
   getIn( page: number ): SlideComponent[];
   getAt( index: number ): SlideComponent | undefined;
-  add( slide: string | Element | Array<string | Element>, index?: number, callback?: AnyFunction ): void;
+  add( slide: string | Element | Array<string | Element>, index?: number ): void;
   remove( selector: SlideMatcher ): void;
   forEach( iteratee: SlidesIteratee, excludeClones?: boolean ): void;
   filter( matcher: SlideMatcher ): SlideComponent[];
@@ -208,9 +208,9 @@ export function Slides( Splide: Splide, Components: Components, options: Options
 
   /**
    * Filters Slides by the matcher
-   * that can be an index, an array with indices, a selector, or an predicate function.
+   * that can be an index, an array with indices, a selector, or a predicate function.
    *
-   * @param matcher - An index, an array with indices, a selector string, or an predicate function.
+   * @param matcher - An index, an array with indices, a selector string, or a predicate function.
    *
    * @return An array with SlideComponent objects.
    */

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov