Class Alfresco.DateRange
Extends Alfresco.component.Base
DateRange component.
Defined in: date-range.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.DateRange(htmlId, valueHtmlId)
DateRange constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Current From date value
|
|
|
Current To date value
|
- Fields borrowed from class Alfresco.component.Base:
- modules, options, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.DateRange(htmlId, valueHtmlId)
DateRange constructor.
- Parameters:
- {String} htmlId
- The HTML id of the control element
- {String} valueHtmlId
- The HTML id prefix of the value elements
- Returns:
- {Alfresco.DateRange} The new DateRange instance
Field Detail
{string}
currentFromDate
Current From date value
{string}
currentToDate
Current To date value
Method Detail
onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.