Skip to content

Commit 2432f74

Browse files
author
Ales Rechtorik
committed
proper type of wrap
1 parent eb9d12c commit 2432f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/input/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class MdInput implements ControlValueAccessor, AfterContentInit, OnChange
170170
// textarea-specific
171171
@Input() rows: number = null;
172172
@Input() cols: number = null;
173-
@Input() wrap: string = null;
173+
@Input() wrap: 'soft' | 'hard' = null;
174174

175175
private _floatingPlaceholder: boolean = false;
176176
private _autofocus: boolean = false;

0 commit comments

Comments
 (0)