Class CAF.PopupCalendar.Model
Object
|
+--CAF.Output.Model
|
+--CAF.Input.Model
|
+--CAF.PopupCalendar.Model
- class
CAF.PopupCalendar.Model
- extends CAF.Input.Model
CAF PopupCalendar client-side model.
Defined in date.js
Method Summary |
Object
|
adjusted_week(week, date)
|
void
|
cancel()
Cancels calendar.
|
Object
|
getValue()
Gets this control's string or string array value.
|
void
|
help()
Shows help tooltip.
|
void
|
hide(callback, click)
Hides popup.
|
void
|
initialize(element)
Initializer.
|
Object
|
iso_week()
|
Object
|
isVisible()
Returns true if this control is visible.
|
void
|
select(s)
Selects the specified date and hides the calendar.
|
void
|
setValue(value)
Sets this control's string or string array value.
|
void
|
show(callback, click, element)
Shows calendar.
|
Methods inherited from class CAF.Output.Model |
toString, equals, isDisabled, setVisible, _reapplyOriginalStyle, toggle, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
|
classes
Object classes
CAF.PopupCalendar.Model
CAF.PopupCalendar.Model()
adjusted_week
Object adjusted_week(week, date)
cancel
void cancel()
getValue
Object getValue()
Gets this control's string or string array value.
Returns:
String value, or in the case of a control with multiple values, an array of string values. If the control has no value, returns an empty string ("") or an empty arry ([]); never null.
help
void help()
hide
void hide(callback, click)
initialize
void initialize(element)
Parameters:
element
- Input control element or id.
iso_week
Object iso_week()
isVisible
Object isVisible()
Returns true if this control is visible.
Returns:
true if this control is visible.
select
void select(s)
Selects the specified date and hides the calendar.
Parameters:
s
- Selected date string in the form of YYYY-M-D (ie "2006-10-31" or "1977-5-1").
setValue
void setValue(value)
Sets this control's string or string array value.
Parameters:
value
- String value, or in the case of a control with multiple values, an array of string values. If the control has no value, pass an empty string ("") or an empty arry ([]); never null.
show
void show(callback, click, element)
Parameters:
element
- Element for which popup applies.
Documentation generated by
JSDoc on Mon Aug 30 14:56:06 2021