Skip to content

Commit e5c0ec8

Browse files
committed
feat(tab-nav-drawer, tabs): Addressing the comments. #7157
1 parent 97fda4a commit e5c0ec8

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ All notable changes for each version of this project will be documented in this
1818
- `igxGridActions`
1919
- Added `asMenuItems` Input for grid actions - `igx-grid-editing-actions`, `igx-grid-pinning-actions`. When set to true will render the related action buttons as separate menu items with button and label.
2020
- `igxNavigationDrawer`
21-
- Added `disableAnimation` input property which enables/disables the animation for the opening and the closing of the drawer. Set to `false` by default.
21+
- Added `disableAnimation` property which enables/disables the animation, when toggling the drawer. Set to `false` by default.
2222
- `igxTabs`
23-
- Added `disableAnimation` input property which enables/disables the animation for transition of the content of the tabs. Set to `false` by default.
23+
- Added `disableAnimation` property which enables/disables the transition animation of the tabs' content. Set to `false` by default.
2424

2525
### New Features
2626
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`

projects/igniteui-angular/src/lib/navigation-drawer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The navigation drawer can either sit above content or be pinned alongside it and
6464
| `pinThreshold` | number | Minimum device width required for automatic pin to be toggled. Default is 1024, can be set to a falsy value to disable this behavior. |
6565
| `width` | string| Width of the drawer in its open state. Defaults to "280px".|
6666
| `miniWidth` | string | Width of the drawer in its mini variant. Defaults to "60px". |
67-
| `disableAnimation` | boolean | Enables/disables the animation for the opening and the closing of the drawer. Set to `false` by default.
67+
| `disableAnimation` | boolean | Enables/disables the animation, when toggling the drawer. Set to `false` by default.
6868

6969
### Outputs
7070
| Name | Description |

projects/igniteui-angular/src/lib/navigation-drawer/navigation-drawer.component.ts

+7
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ export class IgxNavigationDrawerComponent implements
204204
*/
205205
@Input() public width = '280px';
206206

207+
208+
/**
209+
* Enables/disables the animation, when toggling the drawer. Set to `false` by default.
210+
* ````html
211+
* <igx-nav-drawer [disableAnimation]="false"></igx-nav-drawer>
212+
* ````
213+
*/
207214
@HostBinding ('class.igx-nav-drawer--disable-animation')
208215
@Input() public disableAnimation = false;
209216

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If the total visible items width exceeds the vew port width, scroll buttons are
4949
| `label` | string | Set the tab item text. |
5050
| `disabled` | boolean | Set if the tab is enabled/disabled. |
5151
| `type` | IgxTabsType | Set the tab item sizing mode. By default, `contentfit` is set, the tab item width is sized to its content in the range of min/max width. When the sizing type is `fixed` - all tabs have equal size to fit the view port. |
52-
| `disableAnimation`| boolean | Enables/disables the animation for transition of the contents of the tabs. Set to `false` by default.
52+
| `disableAnimation`| boolean | Enables/disables the transition animation of the tabs' content. Set to `false` by default.
5353

5454
## Events
5555

projects/igniteui-angular/src/lib/tabs/tabs.component.ts

+5
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ export class IgxTabsComponent implements IgxTabsBase, AfterViewInit, OnDestroy {
245245
*/
246246
public visibleItemsWidth: number;
247247

248+
/**
249+
* Enables/disables the transition animation of the tabs' content. Set to `false` by default.
250+
* ````html
251+
* <igx-tabs [disableAnimation]="false"></igx-tabs>
252+
*/
248253
@Input()
249254
public disableAnimation = false;
250255

0 commit comments

Comments
 (0)