@mszgs/timetable
v0.2.0
Published
  ;
document.body.appendChild(timetable);
const subject = new TimetableItem({
day: "MON",
timeStart: "08:00",
timeEnd: "10:00",
title: "subjectTitle",
});
timetable.appendChild(subject);Customization
Locals
<link href="https://cdn.jsdelivr.net/npm/@mszgs/timetable/locales/[language].css" rel="stylesheet">Currently supported languages:
- English
- Hungarian
- German
Style
Custom CSS properties:
- --mszgs-timetable-background
- --mszgs-timetable-border-color
- --mszgs-timetable-color
- --mszgs-timetable-font-family
- --mszgs-timetable-header-background
- --mszgs-timetable-item-border-radius
- --mszgs-timetable-item-primary-color
- --mszgs-timetable-min-width
License
Distributed under the MIT license. See LICENSE for details.
