chore(angular): upgrade to angular 2.0.0-beta.1

Biggest change was that renderer takes  and not just .
This commit is contained in:
Adam Bradley
2016-01-20 11:15:01 -06:00
parent 94ef1f4ce1
commit ee106377fc
21 changed files with 163 additions and 107 deletions

View File

@ -357,7 +357,7 @@ export class ItemInput {
* @private
*/
focusChange(inputHasFocus) {
this._renderer.setElementClass(this._elementRef, 'input-focused', inputHasFocus);
this._renderer.setElementClass(this._elementRef.nativeElement, 'input-focused', inputHasFocus);
if (!inputHasFocus) {
this.deregMove();
}
@ -375,7 +375,7 @@ export class ItemInput {
*/
hasValue(inputValue) {
let inputHasValue = !!(inputValue && inputValue !== '');
this._renderer.setElementClass(this._elementRef, 'input-has-value', inputHasValue);
this._renderer.setElementClass(this._elementRef.nativeElement, 'input-has-value', inputHasValue);
}
/**