Skip to content

spencermountain/somehow-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

somehow-calendar
— part of somehow
WIP svelte infographics

work-in-progress

renders html calendars using spacetime date library

npm i somehow-calendar

month-centered calendars from start to end dates, inclusive

<script>
  import { Quarter } from './src'
  let days = {
    'feb 2': 'orange',
    'feb 18': 'blue',
    'feb 28': 'green',
    'march 28': 'blue',
    'march 22': 'blue',
  }
</script>

<Quarter date="march 2012" days="{days}"> </Quarter>

image

API

  • <Year date="" days={}/>
  • <Quarter date="" days={}/>
  • <Month date="" days={}/>
  • <Resize start="" end="" days={}/>
  • <WeekList start="" end="" days={}/>

See also: