UNPKG

carbon-components-angular

Version:
28 lines (27 loc) 942 B
import { OnInit, ViewContainerRef } from "@angular/core"; import { PlaceholderService } from "./placeholder.service"; /** * Using a modal, dialog (Tooltip, OverflowMenu), or any other component that draws out of the normal page flow * in your application *requires* this component (`ibm-placeholder`). * It would generally be placed near the end of your root app component template * (app.component.ts or app.component.html) as: * * ``` * <ibm-placeholder></ibm-placeholder> * ``` */ export declare class Placeholder implements OnInit { placeholderService: PlaceholderService; /** * Maintains a reference to the view DOM element of the `Placeholder`. */ viewContainerRef: ViewContainerRef; /** * Creates an instance of `Placeholder`. */ constructor(placeholderService: PlaceholderService); /** * Registers the components view with `PlaceholderService` */ ngOnInit(): void; }