Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

dayOf function

Days since 1970-01-01 of a date in a cell: `<time datetime>`, `data-dio-date` or the text.

View as Markdown
import { dayOf } from '@dioramajs/data/heatmap'
function dayOf(cell: Element): number

Parameters

NameTypeDescription
cellElement

Defined in packages/data/src/heatmap.ts.