Inline Parameter Tests

Each section tests a single inline shortcode parameter in isolation. No YAML calendar configuration is used.

file (TSV)

Tests loading events from a TSV file.

file (CSV)

Tests loading events from a CSV file.

file-sep (tab)

Tests explicit tab separator.

file-sep (comma)

Tests explicit comma separator.

defaultView (month)

Tests month view.

defaultView (week)

Tests week view.

defaultView (day)

Tests day view.

height (pixels string)

Tests height as a CSS pixel string.

height (numeric coercion)

Tests numeric height coerced to pixels.

height (vh units)

Tests height as a viewport-height CSS value.

timegridHeight

Tests custom timegrid height in week view.

date

Tests setting the initial calendar date.

Detail items (scalar)

Confirm that location appears inside each event, then click one and confirm that location is the only optional popup row.

Detail items (JSON arrays)

Confirm that location and calendar appear inside events, then click one and confirm that only calendar appears in the popup.

timeFormat (default 24-hour)

Without a timeFormat parameter, confirm that timed events and the time-grid axis use 24-hour time. Click an event and confirm that its detail popup also uses 24-hour time without AM/PM.

timeFormat (12-hour)

Confirm that timed events and the time-grid axis use 12-hour time with AM/PM. Click an event and confirm that its detail popup uses the same format.

timeFormat (invalid)

An unsupported value should render a styled error block listing the accepted values.

toastui: timeFormat must be '12h' or '24h'

autoHourRange (true)

Events run 09:30-10:15 and 14:00-15:00. The data also includes an all-day event, which autoHourRange ignores when scanning for the timed extent. Confirm the week time grid fits to exactly 09:30-15:00 instead of the full day.

autoHourRange (false)

Same data with autoHourRange="false". Confirm the time grid shows the full default day (00:00-24:00).

timezone (inline JSON object, naive timestamps)

The CSV events use naive timestamps (no UTC offset). Confirm they render at their stated wall-clock time (09:30 and 14:00), resolved against Europe/Stockholm even though this nested object is supplied as an inline kwarg rather than YAML metadata.