Builds a carousel like SelectorCarousel but does not wait for the circuits to load, sets up a placeholders and inserts data when loaded, used for the Tutorial on the learn page (in code SelectPage) in the TutorialSelector

Hierarchy (View Summary)

Constructors

  • Parameters

    • parent: any
    • circuitFiles: any
    • identifier: any
    • parentSelector: any

    Returns SkeletonCarousel

Properties

carousel: HTMLDivElement
circuitFiles: any
circuitNameContainer: HTMLDivElement
circuitSet: CircuitSet
imgOverlay: HTMLDivElement
indicatorsDiv: HTMLDivElement
initializationStarted: boolean = false
innerCarousel: HTMLDivElement
isInitialized: boolean = false
nextBtn: HTMLDivElement
overviewBtn: HTMLButtonElement
overviewBtnDiv: HTMLDivElement
overViewModalBody: HTMLDivElement
parent: Selector
parentDiv: HTMLDivElement
prevBtn: HTMLDivElement
startBtn: HTMLButtonElement

Accessors

  • get circuitMaps(): CircuitMap[]

    Returns CircuitMap[]

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

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

  • get indicatorContainerElement(): Element

    Returns Element

  • get overviewBtnElement(): HTMLDivElement

    Returns HTMLDivElement

  • get overviewItemElement(): string

    Returns string

Methods

  • Parameters

    • circuitMap: any

    Returns any

  • Returns Promise<void>

  • Parameters

    • newParent: any
    • oldParent: any

    Returns void

  • Parameters

    • id: any
    • identifier: any

    Returns HTMLElement

  • Parameters

    • event: any
    • indicators: any

    Returns void

  • Parameters

    • identifier: any

    Returns HTMLElement

  • Parameters

    • idx: any

    Returns string

  • Parameters

    • event: any

    Returns any

  • Parameters

    • idx: any

    Returns Element

  • Returns void

  • Parameters

    • event: Event

      {Event}

    Returns void

  • Parameters

    • index: any

    Returns void

  • Returns Element