Module: dynamicClientSections.js

This file handles the creation of sections and and the schedule selection controls used to make a table within each section
Version:
  • 1.0.0
Author:
  • Ali Izoyev
Source:

Methods

(inner) createClientSection()

This method generates the clients section and inserts it into the page
Source:

(inner) createDateSelectionContainer() → {HTMLDivElement}

This method creates and returns the div that holds the error message and later hold on the date selector componentsd
Source:
Returns:
The date selector div
Type
HTMLDivElement

(inner) createMonthContainer() → {HTMLDivElement}

This method creates and returns a div for the month inputs
Source:
Returns:
The month selection div
Type
HTMLDivElement

(inner) createSelections() → {HTMLDivElement}

This method creates and returns a drop down selection of week or month.
Source:
Returns:
The dropdown for week and month div
Type
HTMLDivElement

(inner) createWeekContainer() → {HTMLDivElement}

This method creates and returns a div for the week range inputs
Source:
Returns:
The week selection div
Type
HTMLDivElement

(inner) generateNewSchedule() → {HTMLDivElement}

This method creates and returns a div for the schedule creation.
Source:
Returns:
The schedule creation div
Type
HTMLDivElement

(inner) generateSection() → {HTMLDivElement}

This method creates and returns a section containing an input field for the clients name based on the options in the datalist
Source:
Returns:
The generated client section
Type
HTMLDivElement