@@ -51,7 +51,6 @@ import {getLViewParent, unwrapRNode} from './view_utils';
5151 * is no component associated with it.
5252 *
5353 * @publicApi
54- * @globalApi ng
5554 */
5655export function getComponent < T > ( element : Element ) : T | null {
5756 ngDevMode && assertDomElement ( element ) ;
@@ -79,7 +78,6 @@ export function getComponent<T>(element: Element): T | null {
7978 * inside any component.
8079 *
8180 * @publicApi
82- * @globalApi ng
8381 */
8482export function getContext < T extends { } > ( element : Element ) : T | null {
8583 assertDomElement ( element ) ;
@@ -101,7 +99,6 @@ export function getContext<T extends {}>(element: Element): T | null {
10199 * part of a component view.
102100 *
103101 * @publicApi
104- * @globalApi ng
105102 */
106103export function getOwningComponent < T > ( elementOrDir : Element | { } ) : T | null {
107104 const context = getLContext ( elementOrDir ) ! ;
@@ -124,7 +121,6 @@ export function getOwningComponent<T>(elementOrDir: Element | {}): T | null {
124121 * @returns Root components associated with the target object.
125122 *
126123 * @publicApi
127- * @globalApi ng
128124 */
129125export function getRootComponents ( elementOrDir : Element | { } ) : { } [ ] {
130126 const lView = readPatchedLView < { } > ( elementOrDir ) ;
@@ -139,7 +135,6 @@ export function getRootComponents(elementOrDir: Element | {}): {}[] {
139135 * @returns Injector associated with the element, component or directive instance.
140136 *
141137 * @publicApi
142- * @globalApi ng
143138 */
144139export function getInjector ( elementOrDir : Element | { } ) : Injector {
145140 const context = getLContext ( elementOrDir ) ! ;
@@ -201,7 +196,6 @@ export function getInjectionTokens(element: Element): any[] {
201196 * @returns Array of directives associated with the node.
202197 *
203198 * @publicApi
204- * @globalApi ng
205199 */
206200export function getDirectives ( node : Node ) : { } [ ] {
207201 // Skip text nodes because we can't have directives associated with them.
@@ -266,7 +260,6 @@ export interface ComponentDebugMetadata extends DirectiveDebugMetadata {
266260 * @returns metadata of the passed directive or component
267261 *
268262 * @publicApi
269- * @globalApi ng
270263 */
271264export function getDirectiveMetadata (
272265 directiveOrComponentInstance : any ,
@@ -329,7 +322,6 @@ export function getLocalRefs(target: {}): {[key: string]: any} {
329322 * @returns Host element of the target.
330323 *
331324 * @publicApi
332- * @globalApi ng
333325 */
334326export function getHostElement ( componentOrDirective : { } ) : Element {
335327 return getLContext ( componentOrDirective ) ! . native as unknown as Element ;
@@ -398,7 +390,6 @@ export interface Listener {
398390 * @returns Array of event listeners on the DOM element.
399391 *
400392 * @publicApi
401- * @globalApi ng
402393 */
403394export function getListeners ( element : Element ) : Listener [ ] {
404395 ngDevMode && assertDomElement ( element ) ;
0 commit comments