Skip to content

Commit

Permalink
refactor(demos): update animations sample dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff authored and wnvko committed Oct 12, 2020
1 parent 194e220 commit 06e458a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
26 changes: 14 additions & 12 deletions src/app/styleguide/animations/animations.sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<h4 class="sample-title">Animations categories</h4>
<div>
<igx-list (onItemClicked)="categoryItemClicked($event)">
<igx-list-item igxRipple *ngFor="let category of animationsCategories">
<igx-list-item
igxRipple
*ngFor="let category of animationsCategories"
>
<p>{{ category }}</p>
</igx-list-item>
</igx-list>
Expand All @@ -19,15 +22,14 @@ <h4 class="sample-title">Animations</h4>
</igx-list>
</div>
</article>
<igx-dialog #dialog>
<h4>This is a sample dialog showing the selected animation</h4>
<br>
<hr>
<br>
<hr>
<br>
<hr>
<br>
<h4>Click outside the dialog to close it</h4>
<igx-dialog
#dialog
title="This dialog uses custom animations"
message="Click the button or outside to close"
class="custom-dialog"
rightButtonLabel="Close"
(onRightButtonSelect)="dialog.close()"
>
</igx-dialog>
</div>
</div>

3 changes: 2 additions & 1 deletion src/app/styleguide/animations/animations.sample.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

.sample-title {
margin-left: 8px;
}
}

0 comments on commit 06e458a

Please sign in to comment.