feat(CORE_DIRECTIVES): add NgStyle to CORE_DIRECTIVES
Fixes #4096 Closes #4161
This commit is contained in:
parent
a15b679494
commit
5f15363dab
|
@ -9,6 +9,7 @@ import {NgClass} from './directives/ng_class';
|
||||||
import {NgFor} from './directives/ng_for';
|
import {NgFor} from './directives/ng_for';
|
||||||
import {NgIf} from './directives/ng_if';
|
import {NgIf} from './directives/ng_if';
|
||||||
import {NgNonBindable} from './directives/ng_non_bindable';
|
import {NgNonBindable} from './directives/ng_non_bindable';
|
||||||
|
import {NgStyle} from './directives/ng_style';
|
||||||
import {NgSwitch, NgSwitchWhen, NgSwitchDefault} from './directives/ng_switch';
|
import {NgSwitch, NgSwitchWhen, NgSwitchDefault} from './directives/ng_switch';
|
||||||
|
|
||||||
export * from './directives/ng_class';
|
export * from './directives/ng_class';
|
||||||
|
@ -60,5 +61,5 @@ export * from './directives/ng_switch';
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export const CORE_DIRECTIVES: Type[] =
|
export const CORE_DIRECTIVES: Type[] = CONST_EXPR(
|
||||||
CONST_EXPR([NgClass, NgFor, NgIf, NgNonBindable, NgSwitch, NgSwitchWhen, NgSwitchDefault]);
|
[NgClass, NgFor, NgIf, NgNonBindable, NgStyle, NgSwitch, NgSwitchWhen, NgSwitchDefault]);
|
||||||
|
|
Loading…
Reference in New Issue