You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-8
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ All notable changes for each version of this project will be documented in this
15
15
16
16
-`IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
17
17
-**Behavioral Change** - Pinning columns is no longer automatically prevented when the pinning area would exceed the size of the grid.
18
+
-`IgxCarousel`:
19
+
-**Breaking Changes** -The carousel slides are no longer array, they are changed to QueryList.
20
+
-**Behavioural change** - When slides are more than 5, a label is shown instead of the indicators. The count limit of visible indicators can be changed with the input `maximumIndicatorsCount`
21
+
18
22
19
23
### New Features
20
24
-`IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`:
@@ -25,13 +29,13 @@ All notable changes for each version of this project will be documented in this
25
29
-`sortingExpressionsChange` event emitter is added, which is fired whenever a change to the sorting expressions has occurred (prior to performing the actual sorting).
26
30
-`filteringExpressionsTreeChange` event emitter is added, which is fired whenever a change to the filtering expressions has occurred (prior to performing the actual filtering).
27
31
-`advancedFilteringExpressionsTreeChange` event emitter is added, which is fired whenever a change to the advanced filtering expressions has occurred (prior to performing the actual filtering).
28
-
-`IgxGridExcelStyleFilteringComponent` and `IgxAdvancedFilteringDialogComponent` can now be hosted outside of the grid in order to provide the same experience as the built-in filtering UI.
29
-
-`IgxOverlayService`:
30
-
-`setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
31
-
-`IgxToggleDirective`:
32
-
-`setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
33
-
-`IgxRowDragGhost` directive is added. It allows providing a custom template for the drag ghost when dragging a row.
34
-
```html
32
+
-`IgxGridExcelStyleFilteringComponent` and `IgxAdvancedFilteringDialogComponent` can now be hosted outside of the grid in order to provide the same experience as the built-in filtering UI.
33
+
-`IgxOverlayService`:
34
+
-`setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
35
+
-`IgxToggleDirective`:
36
+
-`setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
37
+
-`IgxRowDragGhost` directive is added. It allows providing a custom template for the drag ghost when dragging a row.
@@ -43,7 +47,13 @@ All notable changes for each version of this project will be documented in this
43
47
</div>
44
48
</ng-template>
45
49
</igx-grid>
46
-
```
50
+
```
51
+
- `IgxCarousel`:
52
+
- `keyboardSupport` input is added, which can be used to enable and disable keyboard navigation
53
+
- `maximumIndicatorsCount` input is added, which can be used to set the number of visible indicators
54
+
- `indicatorsOrientation` input is added, which can be used to set the position of indicators it can be top or bottom
55
+
- `animationType` input is added, which can be used to set animation when changing slides
56
+
- `indicatorTemplate` directive is added, which can be used to provide a custom indicator for carousel. If this property is not provided, a default indicator template will be used instead.
Copy file name to clipboardExpand all lines: projects/igniteui-angular/src/lib/carousel/README.md
+25-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
A carousel component is used to browse or navigate through a collection of slides - galleries of images,
4
4
cards, on-boarding tutorials or page-based interfaces. It can be used as a separate full screen element
5
-
or inside another component.
5
+
or inside another component.
6
6
A walkthrough of how to get started can be found [here](https://www.infragistics.com/products/ignite-ui-angular/angular/components/carousel.html)
7
7
8
8
# API Summary `igx-carousel`
@@ -13,6 +13,10 @@ A walkthrough of how to get started can be found [here](https://www.infragistics
13
13
|`pause`| boolean | Should the carousel stop playing on user interaction. Defaults to `true`. |
14
14
|`interval`| number | The amount of time in milliseconds between slides transition. |
15
15
|`navigation`| boolean | Controls should the carousel render the left/right navigation buttons. Defaults to `true`. |
16
+
|`keyboardSupport`| boolean | Controls should the keyboard navigation should be supported. Defaults to `true`. |
17
+
|`maximumIndicatorsCount`| number | The number of visible indicators. Defaults to `5`. |
18
+
|`indicatorsOrientation`| CarouselIndicatorsOrientation | Controls whether the indicators should be previewed on top or on bottom of carousel. Defaults to `bottom`. |
19
+
|`animationType`| CarouselAnimationType | Controls what animation should be played when slides are changing. Defaults to `slide`. |
16
20
|`total`| number | The number of slides the carousel currently has. |
17
21
|`current`| number | The index of the slide currently showing. |
18
22
|`isPlaying`| boolean | Returns whether the carousel is paused/playing. |
@@ -31,6 +35,26 @@ A walkthrough of how to get started can be found [here](https://www.infragistics
31
35
|`get(index: Number)`| IgxSlide or void | Returns the slide with the given index or null. |
32
36
|`select(slide: IgxSlide, direction: Direction)`| void | Selects the slide and the direction to transition to. Emits `onSlideChanged` event. |
33
37
38
+
### Keyboard navigation
39
+
Keyboard navigation will be enabled when the **IgxCarousel** component is focused and `keyboardSupport` property is set to `true`:
40
+
- Arrow keys will navigate through the slides.
41
+
-`Home` will focus the first slide inside the carousel view.
42
+
-`End` will focus the last slide inside the carousel view.
43
+
44
+
### Templates
45
+
The **IgxCarousel** supports templating of its indicators
0 commit comments