@@ -70,10 +70,10 @@ export class MdPlaceholder {}
70
70
}
71
71
} )
72
72
export class MdHint {
73
- // Whether to align the hint label at the start or end of the line.
73
+ /** Whether to align the hint label at the start or end of the line. */
74
74
@Input ( ) align : 'start' | 'end' = 'start' ;
75
75
76
- // Unique ID for the hint. Used for the aria-describedby on the input.
76
+ /** Unique ID for the hint. Used for the aria-describedby on the input. */
77
77
@Input ( ) id : string = `md-input-hint-${ nextUniqueId ++ } ` ;
78
78
}
79
79
@@ -187,6 +187,7 @@ export class MdInputDirective {
187
187
*/
188
188
@Output ( ) _placeholderChange = new EventEmitter < string > ( ) ;
189
189
190
+ /** Whether the input is empty. */
190
191
get empty ( ) {
191
192
return ! this . _isNeverEmpty ( ) &&
192
193
( this . value == null || this . value === '' ) &&
@@ -299,7 +300,7 @@ export class MdInputContainer implements AfterViewInit, AfterContentInit, AfterC
299
300
get dividerColor ( ) { return this . color ; }
300
301
set dividerColor ( value ) { this . color = value ; }
301
302
302
- /** Whether we should hide the required marker. */
303
+ /** Whether the required marker should be hidden . */
303
304
@Input ( )
304
305
get hideRequiredMarker ( ) { return this . _hideRequiredMarker ; }
305
306
set hideRequiredMarker ( value : any ) {
@@ -336,6 +337,7 @@ export class MdInputContainer implements AfterViewInit, AfterContentInit, AfterC
336
337
}
337
338
private _floatPlaceholder : FloatPlaceholderType = 'auto' ;
338
339
340
+ /** Reference to the input's underline element. */
339
341
@ViewChild ( 'underline' ) underlineRef : ElementRef ;
340
342
341
343
@ContentChild ( MdInputDirective ) _mdInputChild : MdInputDirective ;
0 commit comments