Redux practice tab actions
Methods
# static choirSelectedForPractice(id, name) → {module:reduxPracticeTabActions~ChoirSelectedForPracticeReturnObject}
Sets the selected choir for the practice tab
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The choir id |
name |
string | The choir name |
# static exerciseGenerated() → {module:reduxPracticeTabActions~ExerciseGeneratedReturnObject}
Indicates that the exercise has been generated
# static exerciseRequested(startMeasure, endMeasure) → {module:reduxPracticeTabActions~ExerciseRequestedReturnObject}
Requests an exercise
Parameters:
Name | Type | Description |
---|---|---|
startMeasure |
string | The selected start measure |
endMeasure |
string | The selected end measure |
# static musicSelectedForPractice(id) → {module:reduxPracticeTabActions~MusicSelectedForPracticeReturnObject}
Sets the selected choir
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The sheet music id |
# static setUserGetsFeedback() → {module:reduxPracticeTabActions~SetUserGetsFeedbackReturnObject}
Indicates that the exercise has been generated
Type Definitions
# ChoirSelectedForPracticeReturnObject
Return object for the choirSelectedForPractice function
Properties:
Name | Type | Description |
---|---|---|
type |
module:reduxActionTypes | An action type |
id |
string | The choir id |
name |
string | The choir name |
# ExerciseGeneratedReturnObject
Return object for the exerciseGenerated function
Properties:
Name | Type | Description |
---|---|---|
type |
module:reduxActionTypes | An action type |
# ExerciseRequestedReturnObject
Return object for the exerciseRequested function
Properties:
Name | Type | Description |
---|---|---|
type |
module:reduxActionTypes | An action type |
startMeasure |
string | The start measure |
endMeasure |
string | The end measure |
# MusicSelectedForPracticeReturnObject
Return object for the musicSelectedForPractice function
Properties:
Name | Type | Description |
---|---|---|
type |
module:reduxActionTypes | An action type |
id |
string | The sheet music id |
# SetUserGetsFeedbackReturnObject
Return object for the setUserGetsFeedback function
Properties:
Name | Type | Description |
---|---|---|
type |
module:reduxActionTypes | An action type |