Methods
(inner) handleAddDaypartRow(event)
Add's daypart buttons
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLElement | The row that was clicked |
(inner) handleChangeEventForScheduleTypes(event)
Show different input fields based on the chosen schedule type
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLElement | The element (input elements) |
(inner) handleCreateNewSchedule(event)
Creates a new schedule based on the user's selected date
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLButtonElement | The button labeled "Generat New Schedule" |
(inner) handleInputEventForSchedules(event)
This will be for the table. It will automatically listen for any inputs when the client types in a number
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLElement | The element (input elements) that are being listened to for inputs |
(inner) handleKeyDownEventForSchedules(event)
Ignore '-' in input fields when typing
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLElement | The element (input elements) that are being listened to for inputs |
(inner) handlePasteEventForSchedules(event)
Ignore '-' in input fields when pasting
Parameters:
| Name | Type | Description |
|---|---|---|
event |
HTMLElement | The element (input elements) that are being listened to for inputs |