chore: add ViewEncapsulation.None to components

Closes #5884
This commit is contained in:
Adam Bradley
2016-04-10 20:38:04 -05:00
parent 4e8ecae83c
commit acc6321d0d
25 changed files with 67 additions and 39 deletions

View File

@ -1,4 +1,4 @@
import {Component, Renderer, ElementRef, HostListener, ChangeDetectionStrategy} from 'angular2/core';
import {Component, Renderer, ElementRef, HostListener, ChangeDetectionStrategy, ViewEncapsulation} from 'angular2/core';
import {NgFor, NgIf} from 'angular2/common';
import {Animation} from '../../animations/animation';
@ -159,6 +159,7 @@ export class Loading extends ViewController {
},
directives: [NgIf, Spinner],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
})
class LoadingCmp {
private d: any;