The counter manager manages the counter elements displayed after an accordion heading

Constructors

  • Parameters

    • selector: Selector

      {Selector}

    • pageToShowAnimationOn: typeof Page

      {typeof Page}

    • exclude: {
          capacitor: string;
          inductor: string;
          kirchhoff: string;
          magnetic: string;
          mixed: string;
          quickstart: string;
          resistor: string;
          symbolic: string;
          wheatstone: string;
      }[] = window.definitions.noCounter

      {Array<window.definitions.selectorIDs>}

    Returns CounterManager

Properties

elems: Map<string, CounterElement> = ...
exclude: {
    capacitor: string;
    inductor: string;
    kirchhoff: string;
    magnetic: string;
    mixed: string;
    quickstart: string;
    resistor: string;
    symbolic: string;
    wheatstone: string;
}[]
hasAllElements: boolean = false
pageToShowAnimationOn: Page = SelectPage
selector: Selector

Accessors

  • get allCircuitsDone(): boolean

    Returns boolean

Methods

  • Parameters

    • element: any
    • identifier: any

    Returns void

  • Returns void

  • Parameters

    • identifier: any

    Returns void

  • Returns void

  • Parameters

    • identifier: any = undefined

    Returns void