Skip to content

Commit d97dbc7

Browse files
committed
fix(test): Static changes #5576
1 parent 63a6e9c commit d97dbc7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Ignite UI for Angular Change Log
22

33
All notable changes for each version of this project will be documented in this file.
4+
## 7.3.15
5+
- `IgxDialog` new @Input `positionSettings` is now available. It provides the ability to get/set both position and animation settings of the Dialog component.
6+
47
## 7.3.13
58
- `IgxDatePicker` changes
69
- `valueChange` event is added.
7-
- `IgxDialog` new @Input `positionSettings` is now available. It provides the ability to get/set both position and animation settings of the Dialog component.
810

911
## 7.3.7
1012
- **Behavioral Change** default min column width is changed according the grid display density property:

projects/igniteui-angular/src/lib/dialog/dialog.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ class CustomTemplates2DialogComponent {
519519
[positionSettings]="positionSettings" >
520520
</igx-dialog>` })
521521
class PositionSettingsDialogComponent {
522-
@ViewChild('dialog', { static: true }) public dialog: IgxDialogComponent;
522+
@ViewChild('dialog') public dialog: IgxDialogComponent;
523523

524524
public positionSettings: PositionSettings = {
525525
horizontalDirection: HorizontalAlignment.Left,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export class IgxDialogComponent implements IToggleView, OnInit, OnDestroy, After
219219
/**
220220
* Get the position and animation settings used by the dialog.
221221
* ```typescript
222-
* @ViewChild('alert', { static: true }) public alert: IgxDialogComponent;
222+
* @ViewChild('alert') public alert: IgxDialogComponent;
223223
* let currentPosition: PositionSettings = this.alert.positionSettings
224224
* ```
225225
*/
@@ -233,7 +233,7 @@ export class IgxDialogComponent implements IToggleView, OnInit, OnDestroy, After
233233
* ```typescript
234234
* import { slideInLeft, slideOutRight } from 'igniteui-angular';
235235
* ...
236-
* @ViewChild('alert', { static: true }) public alert: IgxDialogComponent;
236+
* @ViewChild('alert') public alert: IgxDialogComponent;
237237
* public newPositionSettings: PositionSettings = {
238238
* openAnimation: useAnimation(slideInTop, { params: { duration: '2000ms' } }),
239239
* closeAnimation: useAnimation(slideOutBottom, { params: { duration: '2000ms'} }),

0 commit comments

Comments
 (0)