Interface: WebsiteComponent

The WebsiteComponent interface is used to define the properties of a website component. A WebsiteComponent is used to render an iframe with a website inside of it. This can be used to display an external website or an html file that is located in the public folder.

Hierarchy

Table of contents

Properties

Properties

correctAnswer

Optional correctAnswer: Answer[]

Inherited from

BaseIndividualComponent.correctAnswer

Defined in

types.ts:206


description

Optional description: string

Inherited from

BaseIndividualComponent.description

Defined in

types.ts:208


instruction

Optional instruction: string

Inherited from

BaseIndividualComponent.instruction

Defined in

types.ts:209


instructionLocation

Optional instructionLocation: "sidebar" | "aboveStimulus" | "belowStimulus"

Inherited from

BaseIndividualComponent.instructionLocation

Defined in

types.ts:205


meta

Optional meta: Record<string, unknown>

Inherited from

BaseIndividualComponent.meta

Defined in

types.ts:207


nextButtonLocation

Optional nextButtonLocation: "sidebar" | "aboveStimulus" | "belowStimulus"

Inherited from

BaseIndividualComponent.nextButtonLocation

Defined in

types.ts:204


nextButtonText

Optional nextButtonText: string

Inherited from

BaseIndividualComponent.nextButtonText

Defined in

types.ts:203


parameters

Optional parameters: Record<string, unknown>

Defined in

types.ts:246


path

path: string

Defined in

types.ts:244


response

response: Response[]

Inherited from

BaseIndividualComponent.response

Defined in

types.ts:200


style

Optional style: Record<string, string>

Defined in

types.ts:245


title

Optional title: string

Inherited from

BaseIndividualComponent.title

Defined in

types.ts:210


type

type: "website"

Defined in

types.ts:243