UNPKG

carbon-components-angular

Version:
76 lines (72 loc) 2.38 kB
/** * * carbon-angular v0.0.0 | grid.directive.d.ts * * Copyright 2014, 2024 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 { OnDestroy, OnInit, QueryList } from "@angular/core"; import { GridService } from "./grid.service"; import * as i0 from "@angular/core"; /** * Get started with importing the module: * * ```typescript * import { GridModule } from 'carbon-components-angular'; * ``` * * [See demo](../../?path=/story/components-grid--basic) */ export declare class GridDirective implements OnInit, OnDestroy { private gridService; /** * Set to `true` to condense the grid */ condensed: boolean; /** * Set to `true` to use narrow grid */ narrow: boolean; /** * Set to `true` to use the full width */ fullWidth: boolean; /** * Set to `true` to use css grid */ set useCssGrid(enable: boolean); private cssGridEnabled; private isSubgrid; private subscription; get flexGrid(): boolean; get flexCondensed(): boolean; get flexNarrow(): boolean; get flexFullWidth(): boolean; get ccsGrid(): boolean; get ccsCondensed(): boolean; get ccsNarrow(): boolean; get ccsFullWidth(): boolean; get subGrid(): boolean; get subCondensed(): boolean; get subNarrow(): boolean; get subFullWidth(): boolean; constructor(gridService: GridService); ngOnInit(): void; set cssGridChildren(list: QueryList<GridDirective>); /** * Unsubscribe from Grid Service subscription */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GridDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GridDirective, "[cdsGrid], [ibmGrid]", never, { "condensed": "condensed"; "narrow": "narrow"; "fullWidth": "fullWidth"; "useCssGrid": "useCssGrid"; }, {}, ["cssGridChildren"], never, false>; }