FoQuizComponent class

Annotations
  • @Component(selector: 'fo-quiz', templateUrl: 'fo_quiz_component.html', styleUrls: ['fo_quiz_component.css'], directives: [FoQuestionComponent, NgFor], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FoQuizComponent(ChangeDetectorRef _changeDetectorRef)

Properties

activeIndex int
getter/setter pair
activeQuestion FoQuestionModel
getter/setter pair
buttonColor String?
getter/setter pair
disabled bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxPoints int
getter/setter pair
model FoQuizModel
getter/setter pair
nextButtonLabel String
no setter
onDone Stream<FoQuizDoneEvent>
no setter
prevButtonLabel String?
no setter
quiz_next String
final
quiz_previous String
final
quiz_send String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
ngOnInit() → void
Executed after the first change detection run for a directive.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onQuestionDone(FoQuestionModel question) → void
onQuestionPrev(FoQuestionModel question) → void
restart() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited