accordion-group.component.d.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. import { OnDestroy, OnInit, EventEmitter } from '@angular/core';
  2. import { AccordionComponent } from './accordion.component';
  3. /**
  4. * ### Accordion heading
  5. * Instead of using `heading` attribute on the `accordion-group`, you can use
  6. * an `accordion-heading` attribute on `any` element inside of a group that
  7. * will be used as group's header template.
  8. */
  9. export declare class AccordionPanelComponent implements OnInit, OnDestroy {
  10. /** turn on/off animation */
  11. isAnimated: boolean;
  12. /** Clickable text in accordion's group header, check `accordion heading` below for using html in header */
  13. heading: string;
  14. /** Provides an ability to use Bootstrap's contextual panel classes
  15. * (`panel-primary`, `panel-success`, `panel-info`, etc...).
  16. * List of all available classes [available here]
  17. * (https://getbootstrap.com/docs/3.3/components/#panels-alternatives)
  18. */
  19. panelClass: string;
  20. /** if <code>true</code> — disables accordion group */
  21. isDisabled: boolean;
  22. /** Emits when the opened state changes */
  23. isOpenChange: EventEmitter<boolean>;
  24. /** Is accordion group open or closed. This property supports two-way binding */
  25. isOpen: boolean;
  26. readonly isBs3: boolean;
  27. protected _isOpen: boolean;
  28. protected accordion: AccordionComponent;
  29. constructor(accordion: AccordionComponent);
  30. ngOnInit(): void;
  31. ngOnDestroy(): void;
  32. toggleOpen(): void;
  33. }