Object manages the counter displayed after an accordion heading e.g. on the learn page (in code SelectPage) used in the Selector class.

Hierarchy (View Summary)

Constructors

  • Parameters

    • element: HTMLElement

      {HTMLElement}

    • identifier: {
          capacitor: string;
          inductor: string;
          kirchhoff: string;
          magnetic: string;
          mixed: string;
          quickstart: string;
          resistor: string;
          symbolic: string;
          wheatstone: string;
      }

      {window.definitions.selectorIDs}

    • selector: Selector

      {Selector}

    • pageToShowAnimationOn: typeof Page

      {typeof Page}

    Returns CounterElement

Properties

circuitFiles: CircuitFilesManager
element: HTMLElement
hash: any
identifier: {
    capacitor: string;
    inductor: string;
    kirchhoff: string;
    magnetic: string;
    mixed: string;
    quickstart: string;
    resistor: string;
    symbolic: string;
    wheatstone: string;
}
pageToShowAnimationOn: typeof Page
selector: Selector

Accessors

  • get allCircuitsDone(): boolean

    Returns boolean

  • set currentCount(count: number): void

    Parameters

    • count: number

      {Number}

    Returns void

  • set totalCount(count: number): void

    Parameters

    • count: number

      {Number}

    Returns void

Methods

  • Parameters

    • idx: any

    Returns void

  • Returns boolean

  • Parameters

    • identifier: any

    Returns HTMLCollection

  • Parameters

    • identifier: any

    Returns HTMLDivElement

  • Returns void