Schedule Container
One important thing to remember is that the schedule is an instance of a class, so the new
keyword is essential for it to be instantiated.
Container With Id Of id='schedule'
Without an element with an id='schedule'
everything will not work.
It is absolutely critical that the container that you want the schedule to be inside has an id='schedule'
. Also, equally important is that you have the position = relative;
and height and width using a unit such as px
or rem
. That way, the responsive nature of the schedule can calculate the size of everything inside and give you less work to do with regards to making sure any user or client can view and use the schedule. ie ~ height: 65rem; width: 50rem;
A single object will be passed into the Schedule, and the next pages of this section will cover each of the three object options and their own settings.