whatcall - v0.0.0
    Preparing search index...

    Implements

    • OnInit
    Index

    Constructors

    Properties

    firstFormGroup: FormGroup<{}> = ...

    Empty FromGroup object, used for first mat-stepper page.

    scenario$: Observable<ScenarioWithResponses | undefined>

    Observable that emits the active ScenarioWithResponses object based on the activeScenarioId$ including the responses and stats.

    secondFormGroup: FormGroup<{}> = ...

    Empty FromGroup object, used for second mat-stepper page.

    stepper: MatStepper

    The MatStepper page element - referenced from the HTML.

    stepperDuration: string = ''

    The duration of animation for the mat-stepper

    Methods

    • Handler for when a user selects a response option button.

      Adds the user's response to the Firestore responses collection using the scenarioService

      Parameters

      • userResponse: string

        The text of the response selected by the user

      Returns Promise<void>

      A promise that resolves once Firestore is updated