carbon-components-angular
Version:
Next generation components
52 lines (48 loc) • 1.84 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | list-header.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 { QueryList, AfterContentInit } from "@angular/core";
import { ListColumn } from "./list-column.component";
import * as i0 from "@angular/core";
/**
* `ListHeader` provides a container for the `ListColumn`s that make up the header of a structured list.
*
* Example:
* ```html
* <cds-list-header>
* <cds-list-column nowrap="true">Column 1</cds-list-column>
* <cds-list-column nowrap="true">Column 2</cds-list-column>
* <cds-list-column>Column 3</cds-list-column>
* </cds-list-header>
* ```
*/
export declare class ListHeader implements AfterContentInit {
wrapper: boolean;
role: string;
set skeleton(value: any);
get skeleton(): any;
columns: QueryList<ListColumn>;
/**
* Set by the containing `StructuredList`. Adds a dummy header for the selection column when set to true.
*/
selection: boolean;
protected _skeleton: boolean;
ngAfterContentInit(): void;
protected updateChildren(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ListHeader, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ListHeader, "cds-list-header, ibm-list-header", never, { "skeleton": "skeleton"; }, {}, ["columns"], ["*"], false>;
}