JUI(Simple UI & Chart Component)

ui.datepicker

Hierarchy

core
ui.datepicker

Requires

jquery

Files

Picker

Defined By

Config options

ui.datepicker
view source
: Booleandeprecated
...

Defaults to: false

This cfg has been deprecated

ui.datepicker
view source
: Date
Selects a specific date as a basic ...

Selects a specific date as a basic

Defaults to: "now"

Defines a DOM event to be used in a UI ...

Defines a DOM event to be used in a UI

Defaults to: {}

ui.datepicker
view source
: String
Format of the date handed over when selecting a specific date ...

Format of the date handed over when selecting a specific date

Defaults to: "yyyy-MM-dd"

ui.datepicker
view source
: Date
Selects a specific maximum date ...

Selects a specific maximum date

Defaults to: "null"

ui.datepicker
view source
: Date
Selects a specific minimum date ...

Selects a specific minimum date

Defaults to: "null"

ui.datepicker
view source
: String
Title format of a calendar ...

Title format of a calendar

Defaults to: "yyyy.MM"

Defines a template markup to be used in a UI ...

Defines a template markup to be used in a UI

Defaults to: {}

ui.datepicker
view source
: "daily"/"monthly"/"yearly"
Determines the type of a calendar ...

Determines the type of a calendar

Defaults to: "daily"

Defined By

Methods

ui.datepicker
view source
( time )
Selects a date corresponding to the time added to the currently selected date ...

Selects a date corresponding to the time added to the currently selected date

Parameters

  • time : "Integer"/"Date"

    Timestamp or Date

( name, params )
Check the parameter type of a UI method and generates an alarm when a wrong value is entered ...

Check the parameter type of a UI method and generates an alarm when a wrong value is entered

Parameters

  • name : String

    Method name

  • params : Array

    Parameters

( name, callback ) : Mixed
Sets a callback function that is called after a UI method is run ...

Sets a callback function that is called after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback ) : Mixed
Sets a callback function that is called before a UI method is run ...

Sets a callback function that is called before a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback )
Sets a callback function and the delay time before/after a UI method is run ...

Sets a callback function and the delay time before/after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function
Removes all events set in a UI obejct and the DOM element ...

Removes all events set in a UI obejct and the DOM element

( type, args ) : Mixed
Generates a custom event. ...

Generates a custom event. The first parameter is the type of a custom event. A function defined as an option or on method is called

Parameters

  • type : String

    Event type

  • args : Function

    Event Arguments

Returns

  • Mixed
ui.datepicker
view source
( ) : Date
Gets the value of the date currently selected ...

Gets the value of the date currently selected

Returns

  • Date

    Date object

ui.datepicker
view source
( ) : String
Gets a date string that fits the format entered ...

Gets a date string that fits the format entered

Returns

  • String

    format Formatted date string

ui.datepicker
view source
( ) : Integer
Gets the timestamp value of the date currently selected ...

Gets the timestamp value of the date currently selected

Returns

  • Integer

    Timestamp

ui.datepicker
view source
( )
Outputs a calendar that fits the next year/month ...

Outputs a calendar that fits the next year/month

Removes a custom event of an applicable type or callback handler ...

Removes a custom event of an applicable type or callback handler

Parameters

  • type : String

    Event type

( type, callback )
A callback function defined as an on method is run when an emit method is called ...

A callback function defined as an on method is run when an emit method is called

Parameters

  • type : String

    Event type

  • callback : Function
ui.datepicker
view source
( year, month )
Outputs a calendar that fits the year/month entered ...

Outputs a calendar that fits the year/month entered

Parameters

  • year : Integer
  • month : Integer
ui.datepicker
view source
( )
Outputs a calendar that fits the previous year/month ...

Outputs a calendar that fits the previous year/month

ui.datepicker
view source
( )
Reloads the datepicker ...

Reloads the datepicker

ui.datepicker
view source
( )
Selects today if there is no value, or selects a date applicable to a timestamp or year/month/date ...

Selects today if there is no value, or selects a date applicable to a timestamp or year/month/date

Parameters

  • : "year"/"month"/"date"/"timestamp"/"Date"
Dynamically defines the options of a UI ...

Dynamically defines the options of a UI

Parameters

  • key : String
  • value : Mixed
( name, html )
Dynamically defines the template method of a UI ...

Dynamically defines the template method of a UI

Parameters

  • name : String

    Template name

  • html : String

    Template markup

Defined By

Events

ui.datepicker
view source
( e )
Event that occurs when clicking on the next button ...

Event that occurs when clicking on the next button

Parameters

  • e : EventObject

    The event object

ui.datepicker
view source
( e )
Event that occurs when clicking on the previous button ...

Event that occurs when clicking on the previous button

Parameters

  • e : EventObject

    The event object

ui.datepicker
view source
( value, e )
Event that occurs when selecting a specific date ...

Event that occurs when selecting a specific date

Parameters

  • value : String

    Formatted date string

  • e : EventObject

    The event object