Schedule

Sometimes we have the need to manage the reservation of rooms, rentals or simply premises within a gym, this component allows us to manage the different reservations that can be made for a given space

view on GitHub
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
24:00
thu

Props

Explore the available props for the form component

PropertyDescriptionTypeDefault
lngcomponent languagees | en'en'
colorApplies specified color to the component - supports only utility colors (for example primary or secondary)string'primary'
loadingShow a linear progress bar at the bottom of the header and change the status to read-onlybooleanfalse
schedule-columnmaximum number of columns to display (only applies when schedule-mode is schedule)number | stringundefined
row-heightrow height in pixelsnumber | string97
stepdetermines the time (seconds) that elapses between one row and the othernumber60 * 60
startdetermines the time(seconds) from which the first row will be displayednumber0
enddetermines the last time(seconds) the schedule will displaynumber 60 * 60 * 24
ScheduleSpaceselected space is used to display the events of that space (only applies when schedule-mode is week or day)ScheduleSpaceundefined
modelValueselected date is used to display the events of that date Datenew Date()
modedetermines the type of schedule to displayScheduleModeScheduleMode.day
spacesavailable spacesScheduleSpace[][]
eventsscheduled eventsScheduleEvent[][]
sticky-top-headervalue of the css top property for the component headers, changes the positioning of the headers to sticky automatically)string | number0

Slots

Explore the available slots for the form component

data types

You can import all data types used in the component from the path: drocket