@@ -16,7 +16,8 @@ <h4 class="sample-title">Time Picker with Dropdown</h4>
16
16
< article class ="timepicker-column ">
17
17
< h4 class ="sample-title "> Time Picker with Dropdown Hour Mode</ h4 >
18
18
< div class ="sample-description "> {{showDate(date1)}}</ div >
19
- < div class ="sample-description "> Mask: {{hourModeTimePicker.mask}}, Format: {{hourModeTimePicker.format}}</ div >
19
+ < div class ="sample-description "> Mask: {{hourModeTimePicker.mask}}, Format: {{hourModeTimePicker.format}}
20
+ </ div >
20
21
< div class ="preview " style ="width: 200px ">
21
22
< igx-time-picker #hourModeTimePicker [mode] ="'dropdown' " [(ngModel)] ="date1 " [format] ="'h tt' ">
22
23
</ igx-time-picker >
@@ -64,15 +65,13 @@ <h4 class="sample-title">Templated Time Picker</h4>
64
65
< p class ="sample-description "> Time picker with required input group</ p >
65
66
< div class ="preview ">
66
67
< igx-time-picker #templatedTimePicker [value] ="today ">
67
- < ng-template igxTimePickerTemplate
68
- let-openDialog ="openDialog "
69
- let-value ="value ">
68
+ < ng-template igxTimePickerTemplate let-openDialog ="openDialog " let-value ="value ">
70
69
< igx-input-group [supressInputAutofocus] ="true ">
71
70
< label igxLabel > Required</ label >
72
71
< igx-prefix (click) ="openDialog() ">
73
72
< igx-icon > access_time</ igx-icon >
74
73
</ igx-prefix >
75
- < input igxInput [value] ="showDate(value) " [required] ="isRequired "/>
74
+ < input igxInput [value] ="showDate(value) " [required] ="isRequired " />
76
75
< igx-suffix igxRipple (click) ="change() ">
77
76
< igx-icon fontSet ="material "> star</ igx-icon >
78
77
</ igx-suffix >
@@ -85,10 +84,13 @@ <h4 class="sample-title">Templated Time Picker</h4>
85
84
< h4 class ="sample-title "> Templated Time Picker</ h4 >
86
85
< p class ="sample-description "> Time picker with dropdown mode</ p >
87
86
< div class ="preview ">
88
- < igx-time-picker [value] ="today " [okButtonLabel] ="'' " [cancelButtonLabel] ="'' " format ="HH:mm " mode ="dropdown ">
89
- < ng-template igxTimePickerTemplate let-openDialog ="openDialog " let-value ="value " let-displayTime ="displayTime ">
87
+ < igx-time-picker [value] ="today " [okButtonLabel] ="'' " [cancelButtonLabel] ="'' " format ="HH:mm "
88
+ mode ="dropdown ">
89
+ < ng-template igxTimePickerTemplate let-openDialog ="openDialog " let-value ="value "
90
+ let-displayTime ="displayTime ">
90
91
< igx-input-group >
91
- < input #dropDownTarget igxInput [value] ="displayTime " (blur) ="onBlur(dropDownTarget.value, value) "/>
92
+ < input #dropDownTarget igxInput [value] ="displayTime "
93
+ (blur) ="onBlur(dropDownTarget.value, value) " />
92
94
< igx-suffix >
93
95
< igx-icon (click) ="openDialog(dropDownTarget) "> access_time</ igx-icon >
94
96
</ igx-suffix >
@@ -101,10 +103,12 @@ <h4 class="sample-title">Templated Time Picker</h4>
101
103
< h4 class ="sample-title "> Templated Time Picker</ h4 >
102
104
< p class ="sample-description "> Time picker with dropdown mode + overlay settings + custom buttons</ p >
103
105
< div class ="preview ">
104
- < igx-time-picker #picker [value] ="val " [overlaySettings] ="myOverlaySettings " format ="HH:mm:ss " [mode] ="'dropdown' ">
105
- < ng-template igxTimePickerTemplate let-openDialog ="openDialog " let-value ="value " let-displayValue ="displayValue ">
106
+ < igx-time-picker #picker [value] ="val " [overlaySettings] ="myOverlaySettings " format ="HH:mm:ss "
107
+ [mode] ="'dropdown' ">
108
+ < ng-template igxTimePickerTemplate let-openDialog ="openDialog " let-value ="value "
109
+ let-displayValue ="displayValue ">
106
110
< igx-input-group >
107
- < input #target igxInput [value] ="displayValue " (blur) ="onBlur(target.value, value) "/>
111
+ < input #target igxInput [value] ="displayValue " (blur) ="onBlur(target.value, value) " />
108
112
< igx-suffix >
109
113
< igx-icon (click) ="openDialog(target) "> access_time</ igx-icon >
110
114
</ igx-suffix >
0 commit comments