Skip to content

Commit 7c6756c

Browse files
author
Joseph
committed
- Calendar now uses directives.
1 parent 005a596 commit 7c6756c

File tree

3 files changed

+253
-299
lines changed

3 files changed

+253
-299
lines changed

index2.html

+20-2
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,27 @@ <h2>Date Picker</h2>
6969
<div layout="column" flex="70">
7070
<md-input-container>
7171
<label>Date</label>
72-
<input mdc-datetime-picker type="text" id="date" class="form-control floating-label" placeholder="Date"
73-
ng-model="date">
72+
<input time="false" date="true" mdc-datetime-picker type="text" id="date" class="form-control floating-label"
73+
placeholder="Date"
74+
ng-model="date" min-date="minDate" max-date="maxDate">
7475
</md-input-container>
76+
77+
<md-input-container>
78+
<label>Time</label>
79+
<input mdc-datetime-picker date="false" time="true" type="text" id="time" short-time="true"
80+
class="form-control floating-label"
81+
placeholder="Date"
82+
ng-model="time">
83+
</md-input-container>
84+
85+
<md-input-container>
86+
<label>Date Time</label>
87+
<input mdc-datetime-picker date="true" time="true" type="text" id="datetime"
88+
class="form-control floating-label"
89+
placeholder="Date"
90+
ng-model="dateTime">
91+
</md-input-container>
92+
7593
</div>
7694
</div>
7795
</md-content>

0 commit comments

Comments
 (0)