Skip to content

Commit 78ffe1c

Browse files
simeonoffwnvko
authored andcommitted
refactor(demos): update animations sample dialog
1 parent 3861811 commit 78ffe1c

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

src/app/styleguide/animations/animations.sample.html

+14-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
<h4 class="sample-title">Animations categories</h4>
44
<div>
55
<igx-list (onItemClicked)="categoryItemClicked($event)">
6-
<igx-list-item igxRipple *ngFor="let category of animationsCategories">
6+
<igx-list-item
7+
igxRipple
8+
*ngFor="let category of animationsCategories"
9+
>
710
<p>{{ category }}</p>
811
</igx-list-item>
912
</igx-list>
@@ -19,15 +22,14 @@ <h4 class="sample-title">Animations</h4>
1922
</igx-list>
2023
</div>
2124
</article>
22-
<igx-dialog #dialog>
23-
<h4>This is a sample dialog showing the selected animation</h4>
24-
<br>
25-
<hr>
26-
<br>
27-
<hr>
28-
<br>
29-
<hr>
30-
<br>
31-
<h4>Click outside the dialog to close it</h4>
25+
<igx-dialog
26+
#dialog
27+
title="This dialog uses custom animations"
28+
message="Click the button or outside to close"
29+
class="custom-dialog"
30+
rightButtonLabel="Close"
31+
(onRightButtonSelect)="dialog.close()"
32+
>
3233
</igx-dialog>
33-
</div>
34+
</div>
35+

src/app/styleguide/animations/animations.sample.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
.sample-title {
66
margin-left: 8px;
7-
}
7+
}
8+

0 commit comments

Comments
 (0)