Merge branch 'alpha50' into css-refactor

This commit is contained in:
Adam Bradley
2015-12-09 07:47:30 -06:00
27 changed files with 71 additions and 49 deletions

View File

@@ -75,7 +75,7 @@ export class Searchbar extends Ion {
* After the view has initialized check if the searchbar has a value
* and then store that value in query
*/
afterViewInit() {
ngAfterViewInit() {
// If the user passes in a value to the model we should left align
this.shouldLeftAlign = this.ngControl.value && this.ngControl.value.trim() != '';
this.query = this.ngControl.value || '';