FoQuestionComponent class

Annotations
  • @Component(selector: 'fo-question', templateUrl: 'fo_question_component.html', styleUrls: ['fo_question_component.css'], directives: [FoButtonComponent, FoOptionComponent, FoQuizComponent, NgFor, NgIf], pipes: [CapitalizePipe], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FoQuestionComponent(ChangeDetectorRef _changeDetectorRef)

Properties

buttonColor String?
getter/setter pair
currentChildQuiz FoQuizModel?
getter/setter pair
disabled bool
getter/setter pair
doneController StreamController<FoQuestionModel>
final
hashCode int
The hash code for this object.
no setterinherited
index int
getter/setter pair
leftHidden bool
getter/setter pair
model FoQuestionModel
getter/setter pair
nextButtonLabel String?
getter/setter pair
onDone Stream<FoQuestionModel>
no setter
onPrev Stream<FoQuestionModel>
no setter
prevButtonLabel String?
getter/setter pair
prevController StreamController<FoQuestionModel>
final
rightHidden bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedOptions Iterable<FoOptionModel>
no setter
transition bool
getter/setter pair

Methods

ngAfterChanges() → void
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChildQuizDone(FoQuizDoneEvent event) → void
onNextTrigger() → void
onOptionTrigger(FoOptionModel option) → void
onPrevTrigger() → void
toString() String
A string representation of this object.
inherited

Operators

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