<basedatepickerday>
An abstract class representing a day for use with basedatepicker

JavaScript: lz.basedatepickerday
extends <view> » <node> » lz.Eventable »

Basedatepickerday is an abstract class representing a day for use with the basedatepicker. When creating an implementation of basedatepickerday, it is expected that certain methods from basedatepicker, basedatepickerday and basedatepickerweek will be overridden to provide full functionality of a datepicker. For basedatepickerday, these methods include buttonpush(), buttonrelease(), gotFocus(), and removeFocus(). See the source code of datepicker for a more extensive example. See also <basedatepicker> and <basedatepickerweek>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
daynum expression any null read/write
  The day of the month to be displayed
disabled boolean boolean false read/write
  Indicates if this day should be enabled or disabled. The day would be disbled if it should not show its daynum.
selectable boolean boolean null read/write
  Indicates if this day is selectable. The day is selectable if it is within the range of possible selected dates
selected boolean boolean false read/write
  Indicates if this day is currently selected

Methods

buttonpush()
basedatepickerday.buttonpush();
This method is called when this day has focus, and the enter key is pushed.

buttonrelease()
basedatepickerday.buttonrelease();
This method is called when this day has focus, and the enter key is released.

gotFocus()
basedatepickerday.gotFocus();
This method is called when this day receives focus.

removeFocus()
basedatepickerday.removeFocus();
This method is called when this day loses focus.

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy