behavior: calendar

calendar is date input element allowing to select particular date.

Elements

that have this behavior applied by default:

Model

The calendar has four different view modes:

Each mode uses <table> to render content of the view. Use DOM inspector to discover DOM structure of each view if you will need to style content of the calendar in some specific manner.

Attributes

that this behavior knows about:

Events

Aside of standard set of events (mouse, keyboard, focus) behavior: calendar generates:

Value

Date value or undefined, reflects current selection.

Methods

N/A - this input element has no specific methods.