C# 클래스 Fluqi.Widget.jDatePicker.Events

A set of events to apply to a set of jQuery UI DatePicker.
상속: Core.Options
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
SetBeforeShowDayEvent ( string beforeShowDayEvent ) : Events

The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or '' for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.

SetBeforeShowEvent ( string beforeShowEvent ) : Events

Can be a function that takes an input field and current datepicker instance and returns an events object to update the datepicker with. It is called just before the datepicker is displayed.

SetCreateEvent ( string createEvent ) : Events

This event is triggered when datepicker is created.

SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : Events

Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. this refers to the associated input field.

SetOnCloseEvent ( string onCloseEvent ) : Events

Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text ('' if none) and the datepicker instance as parameters. this refers to the associated input field.

SetOnSelectEvent ( string onSelectEvent ) : Events

Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.

메소드 상세

SetBeforeShowDayEvent() 공개 메소드

The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or '' for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.
public SetBeforeShowDayEvent ( string beforeShowDayEvent ) : Events
beforeShowDayEvent string
리턴 Events

SetBeforeShowEvent() 공개 메소드

Can be a function that takes an input field and current datepicker instance and returns an events object to update the datepicker with. It is called just before the datepicker is displayed.
public SetBeforeShowEvent ( string beforeShowEvent ) : Events
beforeShowEvent string
리턴 Events

SetCreateEvent() 공개 메소드

This event is triggered when datepicker is created.
public SetCreateEvent ( string createEvent ) : Events
createEvent string
리턴 Events

SetOnChangeMonthYearEvent() 공개 메소드

Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. this refers to the associated input field.
public SetOnChangeMonthYearEvent ( string onChangeMonthYearEvent ) : Events
onChangeMonthYearEvent string
리턴 Events

SetOnCloseEvent() 공개 메소드

Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text ('' if none) and the datepicker instance as parameters. this refers to the associated input field.
public SetOnCloseEvent ( string onCloseEvent ) : Events
onCloseEvent string
리턴 Events

SetOnSelectEvent() 공개 메소드

Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.
public SetOnSelectEvent ( string onSelectEvent ) : Events
onSelectEvent string
리턴 Events