docs: common with @publicApi tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin
2018-10-19 15:06:08 +01:00
committed by Alex Rickabaugh
parent 42c331bbf2
commit 0918adf39d
43 changed files with 87 additions and 97 deletions

View File

@ -100,6 +100,7 @@ import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef, ɵstri
* ```
*
* @ngModule CommonModule
* @publicApi
*/
@Directive({selector: '[ngIf]'})
export class NgIf {
@ -171,6 +172,9 @@ export class NgIf {
static ngTemplateGuard_ngIf<E>(dir: NgIf, expr: E): expr is NonNullable<E> { return true; }
}
/**
* @publicApi
*/
export class NgIfContext {
public $implicit: any = null;
public ngIf: any = null;