Skip to content

Commit a4a88ce

Browse files
committed
docs(carousel): add select index overload to readme
1 parent f83f4b6 commit a4a88ce

File tree

1 file changed

+3
-2
lines changed
  • projects/igniteui-angular/src/lib/carousel

1 file changed

+3
-2
lines changed

projects/igniteui-angular/src/lib/carousel/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ A walkthrough of how to get started can be found [here](https://www.infragistics
3434
| `next()` | void | Switches to the next slide. Emits `slideChanged` event. |
3535
| `add(slide: IgxSlide)` | void | Adds a slide to the carousel. Emits `slideAdded` event. |
3636
| `remove(slide: IgxSlide)` | void | Removes an existing slide from the carousel. Emits `slideRemoved` event. |
37-
| `get(index: Number)` | IgxSlide or void | Returns the slide with the given index or null. |
38-
| `select(slide: IgxSlide, direction: Direction)`| void | Selects the slide and the direction to transition to. Emits `slideChanged` event. |
37+
| `get(index: number)` | IgxSlide or void | Returns the slide with the given index or null. |
38+
| `select(slide: IgxSlide, direction: Direction)`| void | Switches to the passed-in slide with a given direction. Emits `slideChanged` event. |
39+
| `select(index: number, direction: Direction)`| void | Switches to slide by index with a given direction. Emits `slideChanged` event. |
3940

4041
### Keyboard navigation
4142

0 commit comments

Comments
 (0)