UNPKG

@synergy-design-system/angular

Version:
40 lines (37 loc) 1.66 kB
import * as i0 from '@angular/core'; import { ElementRef, NgZone } from '@angular/core'; import { SynAccordion } from '@synergy-design-system/components'; /** * @summary Accordions provide the ability to group a list of `<syn-details>`. * * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-accordion--docs * @status stable * @since 1.23.0 * * @slot - The accordion's main content. Must be `<syn-details />` elements. * * @csspart base - The component's base wrapper. */ declare class SynAccordionComponent { nativeElement: SynAccordion; private _ngZone; constructor(e: ElementRef, ngZone: NgZone); /** * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time. */ set closeOthers(v: '' | SynAccordion['closeOthers']); get closeOthers(): SynAccordion['closeOthers']; /** * Draws the accordion and the slotted `<syn-details>` as contained elements. */ set contained(v: '' | SynAccordion['contained']); get contained(): SynAccordion['contained']; /** * The size that should be applied to all slotted `<syn-details>` elements */ set size(v: SynAccordion['size']); get size(): SynAccordion['size']; static ɵfac: i0.ɵɵFactoryDeclaration<SynAccordionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SynAccordionComponent, "syn-accordion", never, { "closeOthers": { "alias": "closeOthers"; "required": false; }; "contained": { "alias": "contained"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>; } export { SynAccordionComponent };