@clr/angular 16.0.1 → 16.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -535,8 +535,17 @@ class ClrAccordionPanel {
535
535
  this.accordionService = accordionService;
536
536
  this.ifExpandService = ifExpandService;
537
537
  this.cdr = cdr;
538
+ /**
539
+ * Whether the panel is disabled.
540
+ */
538
541
  this.disabled = false;
542
+ /**
543
+ * Whether the panel is open.
544
+ */
539
545
  this.panelOpen = false;
546
+ /**
547
+ * Event that is emitted when the panel is opened or closed. The boolean emitted indicates the current state.
548
+ */
540
549
  this.panelOpenChange = new EventEmitter();
541
550
  this.AccordionStatus = AccordionStatus;
542
551
  this.isAccordion = true;
@@ -565,6 +574,9 @@ class ClrAccordionPanel {
565
574
  this.accordionService.disablePanel(this.id, changes.disabled.currentValue);
566
575
  }
567
576
  }
577
+ /**
578
+ * Toggles this panel open or closed.
579
+ */
568
580
  togglePanel() {
569
581
  this.accordionService.togglePanel(this.id);
570
582
  }
@@ -638,6 +650,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
638
650
  class ClrAccordion {
639
651
  constructor(accordionService) {
640
652
  this.accordionService = accordionService;
653
+ /**
654
+ * Whether the accordion supports multiple panels opened at the same time.
655
+ */
641
656
  this.multiPanel = false;
642
657
  this.subscriptions = [];
643
658
  }