Skip to main content
Version: 2.x

ParentLocator type

@microsoft/fast-element/di.js > ParentLocator

ParentLocator type

A function capable of locating the parent container based on a container's owner.

Signature:

export declare type ParentLocator = (owner: any) => Container | null;

References: Container

Remarks

A container owner is usually an HTMLElement instance.