refactor(text-input): wrapped inputs in the item-inner div to style the border

references #492
This commit is contained in:
Brandy Carney
2015-11-12 16:44:00 -05:00
parent f2db20cf1c
commit 50c682a669
4 changed files with 7 additions and 11 deletions

View File

@ -20,8 +20,10 @@ import {Platform} from '../../platform/platform';
'(mouseup)': 'pointerEnd($event)'
},
template:
'<ng-content></ng-content>' +
'<input [type]="type" aria-hidden="true" scroll-assist *ng-if="scrollAssist">',
'<div class="item-inner">' +
'<ng-content></ng-content>' +
'<input [type]="type" aria-hidden="true" scroll-assist *ng-if="scrollAssist">' +
'</div>',
directives: [NgIf, forwardRef(() => InputScrollAssist)]
})
export class TextInput {