Skip to content

Commit

Permalink
docs(material/datepicker): use two-way data-binding (#23707)
Browse files Browse the repository at this point in the history
  • Loading branch information
Androbin committed Dec 7, 2021
1 parent 9839c2a commit 8aef0b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-card class="demo-inline-calendar-card">
<mat-calendar (selectedChange)="selected = $event"></mat-calendar>
<mat-calendar [(selected)]="selected"></mat-calendar>
</mat-card>
<p>Selected date: {{selected}}</p>

0 comments on commit 8aef0b0

Please sign in to comment.