UNPKG

carbon-components-angular

Version:
59 lines (55 loc) 1.84 kB
/** * * carbon-angular v0.0.0 | tile.component.d.ts * * Copyright 2014, 2026 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 { TemplateRef } from "@angular/core"; import * as i0 from "@angular/core"; /** * Build application's tiles using this component. Get started with importing the module: * * ```typescript * import { TilesModule } from 'carbon-components-angular'; * ``` * * ```html * <cds-tile> * tile content * </cds-tile> * ``` * * [See demo](../../?path=/story/components-tiles--basic) */ export declare class Tile { tileClass: boolean; get lightThemeEnabled(): boolean; get hasDecorator(): boolean; get decoratorRounded(): boolean; /** * **Experimental**: Optional decorator (e.g. AI label). */ decorator: TemplateRef<any>; /** * When `true` with a `decorator`, applies rounded-corner styling. */ hasRoundedCorners: boolean; /** * @deprecated since v5 - Use `cdsLayer` directive instead * Set to `"light"` to apply the light style */ theme: "light" | "dark"; static ɵfac: i0.ɵɵFactoryDeclaration<Tile, never>; static ɵcmp: i0.ɵɵComponentDeclaration<Tile, "cds-tile, ibm-tile", never, { "decorator": "decorator"; "hasRoundedCorners": "hasRoundedCorners"; "theme": "theme"; }, {}, never, ["*"], false>; }