UNPKG

carbon-components-angular

Version:
52 lines (48 loc) 1.85 kB
/** * * carbon-angular v0.0.0 | placeholder.component.d.ts * * Copyright 2014, 2025 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { OnInit, ViewContainerRef } from "@angular/core"; import { PlaceholderService } from "./placeholder.service"; import * as i0 from "@angular/core"; /** * Using a modal, dialog (Tooltip, OverflowMenu), or any other component that draws out of the normal page flow * in your application *requires* this component (`cds-placeholder`). * It would generally be placed near the end of your root app component template * (app.component.ts or app.component.html) as: * * ``` * <cds-placeholder></cds-placeholder> * ``` */ export declare class Placeholder implements OnInit { placeholderService: PlaceholderService; id: any; /** * 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; static ɵfac: i0.ɵɵFactoryDeclaration<Placeholder, never>; static ɵcmp: i0.ɵɵComponentDeclaration<Placeholder, "cds-placeholder, ibm-placeholder", never, { "id": "id"; }, {}, never, never, false>; }