UNPKG

flowbite-angular

Version:

<div align="center"> <h1>:construction: flowbite-angular (unreleased) :construction:</h1> <p> <a href="https://flowbite.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github

62 lines (61 loc) 2.81 kB
import { AccordionPanelComponent } from './accordion-panel.component'; import type { AccordionClass, AccordionColors } from './accordion.theme'; import { AccordionThemeService } from './accordion.theme.service'; import { BaseComponent } from 'flowbite-angular'; import { InjectionToken } from '@angular/core'; import * as i0 from "@angular/core"; export declare const FLOWBITE_ACCORDION_IS_ALWAYS_OPEN_DEFAULT_VALUE: InjectionToken<boolean>; export declare const FLOWBITE_ACCORDION_COLOR_DEFAULT_VALUE: InjectionToken<keyof AccordionColors>; export declare const FLOWBITE_ACCORDION_IS_FLUSH_DEFAULT_VALUE: InjectionToken<boolean>; export declare const FLOWBITE_ACCORDION_CUSTOM_STYLE_DEFAULT_VALUE: InjectionToken<{ root?: { base?: string | undefined; } | undefined; }>; export declare const accordionDefaultValueProvider: import("@angular/core").EnvironmentProviders; /** * @see https://flowbite.com/docs/components/accordion/ */ export declare class AccordionComponent extends BaseComponent<AccordionClass> { /** * Service injected used to generated class */ readonly themeService: AccordionThemeService; /** * List of `AccordionPanelComponent` */ readonly accordionPanelChildren: import("@angular/core").Signal<readonly AccordionPanelComponent[]>; /** * Does the opened `AccordionPanelComponent` stay open if another one is opening * * @default false */ isAlwaysOpen: import("@angular/core").ModelSignal<boolean>; /** * Set the accordion color and every child default color * * @default primary */ color: import("@angular/core").ModelSignal<keyof AccordionColors>; /** * Set the accordion as flush or not * * @default false */ isFlush: import("@angular/core").ModelSignal<boolean>; /** * Set the custom style for this accordion */ customStyle: import("@angular/core").ModelSignal<{ root?: { base?: string | undefined; } | undefined; }>; fetchClass(): AccordionClass; /** * Close every `AccordionPanelComponent` */ closeAll(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "flowbite-accordion", never, { "isAlwaysOpen": { "alias": "isAlwaysOpen"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "isFlush": { "alias": "isFlush"; "required": false; "isSignal": true; }; "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, { "isAlwaysOpen": "isAlwaysOpenChange"; "color": "colorChange"; "isFlush": "isFlushChange"; "customStyle": "customStyleChange"; }, ["accordionPanelChildren"], ["*"], true, never>; }