
BREAKING CHANGE: `NgFor` has been removed as it was deprecated since v4. Use `NgForOf` instead. This does not impact the use of`*ngFor` in your templates. PR Close #18758
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
import {Provider} from '@angular/core';
|
|
|
|
import {NgClass} from './ng_class';
|
|
import {NgComponentOutlet} from './ng_component_outlet';
|
|
import {NgForOf, NgForOfContext} from './ng_for_of';
|
|
import {NgIf, NgIfContext} from './ng_if';
|
|
import {NgPlural, NgPluralCase} from './ng_plural';
|
|
import {NgStyle} from './ng_style';
|
|
import {NgSwitch, NgSwitchCase, NgSwitchDefault} from './ng_switch';
|
|
import {NgTemplateOutlet} from './ng_template_outlet';
|
|
|
|
export {
|
|
NgClass,
|
|
NgComponentOutlet,
|
|
NgForOf,
|
|
NgForOfContext,
|
|
NgIf,
|
|
NgIfContext,
|
|
NgPlural,
|
|
NgPluralCase,
|
|
NgStyle,
|
|
NgSwitch,
|
|
NgSwitchCase,
|
|
NgSwitchDefault,
|
|
NgTemplateOutlet
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* A collection of Angular directives that are likely to be used in each and every Angular
|
|
* application.
|
|
*/
|
|
export const COMMON_DIRECTIVES: Provider[] = [
|
|
NgClass,
|
|
NgComponentOutlet,
|
|
NgForOf,
|
|
NgIf,
|
|
NgTemplateOutlet,
|
|
NgStyle,
|
|
NgSwitch,
|
|
NgSwitchCase,
|
|
NgSwitchDefault,
|
|
NgPlural,
|
|
NgPluralCase,
|
|
];
|