EZCalendar v0.1.6 EZCalendar.HTML.Calendar behaviour

Behaviour definition for HTML calendar types.

Summary

Callbacks

Builds the html for a calendar struct, accepts a calendar and a function as arugments

Types

calendar()
calendar :: struct
render_function()
render_function :: (... -> any)

Callbacks

build(calendar, render_function)
build(calendar, render_function) :: [any]

Builds the html for a calendar struct, accepts a calendar and a function as arugments.

The function can be passed in from the view and used to render the content for each date.