A horizontal calendar makes it easy to display resources as rows and visualize a certain status for those resources for date intervals. The type of visualization is not meant to be used on devices with small screens. Still the final version will be functionally working fine on devices with small screens by having a scrollable table. The visualization might make mostly sense in administrational environments.
- visualize people and their holidays
- visualize appartments and the days when they are free / booked
- visualize cars for renting
Currently please clone the repository and run "npm run serve". After that you can visit "http://localhost:8080/"
The VueJS framework must be globally available.
<table-calendar :render-days="26" :table-data="tableData" />
- render-days: the amount of days as cells the calendar should render
- table-data: an array full of data to render the rows for the calendar
Example:
tableData: [
{
'id': 1,
'name': 'Something Beautiful',
'start-date': new Date(),
'end-date': new Date()
},
{
'id': 2,
'name':
'Something else',
'start-date': new Date(),
'end-date': new Date()
}
]
npm install
npm run serve
npm run build
npm run test
npm run lint
npm run test:e2e
npm run test:unit