Module: events.js

Contains functions for handling events.
Version:
  • 1.0.0
Author:
  • Ali Izoyev
  • Colin Rice
Source:

Methods

(inner) handleAddDaypartRow(event)

Add's daypart buttons
Parameters:
Name Type Description
event HTMLElement The row that was clicked
Source:

(inner) handleChangeEventForScheduleTypes(event)

Show different input fields based on the chosen schedule type
Parameters:
Name Type Description
event HTMLElement The element (input elements)
Source:

(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"
Source:

(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
Source:

(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
Source:

(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
Source: