carbon-components-angular
Version:
Next generation components
54 lines (50 loc) • 1.79 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | accordion.component.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 { QueryList, AfterContentInit } from "@angular/core";
import { AccordionItem } from "./accordion-item.component";
import * as i0 from "@angular/core";
/**
* Get started with importing the module:
*
* ```typescript
* import { AccordionModule } from 'carbon-components-angular';
* ```
*
* [See demo](../../?path=/story/components-accordion--basic)
*/
export declare class Accordion implements AfterContentInit {
/**
* Sets the alignment of the chevron icon
*/
align: "start" | "end";
/**
* @todo remove `cds--accordion--${size}` classes in v12
*/
/**
* Sets the size of all accordian items
*/
size: "sm" | "md" | "lg";
children: QueryList<AccordionItem>;
protected _skeleton: boolean;
set skeleton(value: any);
get skeleton(): any;
ngAfterContentInit(): void;
protected updateChildren(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<Accordion, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<Accordion, "cds-accordion, ibm-accordion", never, { "align": "align"; "size": "size"; "skeleton": "skeleton"; }, {}, ["children"], ["*"], false>;
}