Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#11990 from mreis1/master
Browse files Browse the repository at this point in the history
Update slick-carousel.d.ts
  • Loading branch information
yuit authored Nov 10, 2016
2 parents de581ad + 688d43f commit b8ce9ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion slick-carousel/slick-carousel-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ $('.single-item-rtl').slick({
rtl: true
});


$('.no-arrows-slide').slick({
appendArrows: false
})

// --------------------------------------------------------
// ---------------- TEST DEFAULT OPTIONS ------------------
Expand Down
3 changes: 2 additions & 1 deletion slick-carousel/slick-carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ interface JQuerySlickOptions {

/**
* Change where the navigation arrows are attached (Selector, htmlString, Array, Element, jQuery object)
* `false` will prevent arrows from being created/appended
* Default: $(element)
*/
appendArrows?: Element | Element[] | JQuery | string;
appendArrows?: Element | Element[] | JQuery | string | boolean;

/**
* Change where the navigation dots are attached (Selector, htmlString, Array, Element, jQuery object)
Expand Down

0 comments on commit b8ce9ae

Please sign in to comment.