Internal

SamBrishes edited this page Nov 15, 2018 · 2 revisions

Internal Variables & Methods

Version LastUpdate

WiP

Variables

Placeholder

__

Contains the locale / language strings.

id

Contains the unique DateTime instance ID, which is also stored on the source element as custom attribute data-tail-datetime (the value should look like tail-<id>) AND used as ID on the respective DateTime Calendar interface as tail-datetime-<id>.

All instances are also stored in the internal variable tailDateTime.inst.

e

Reference to the passed source HTML Element, which should be an input field in the most cases.

dt

Reference to the main DateTime HTML Element.

con

Contains all the used / configured options for this instance. Please use the public function .config() to get or set your options, because some configurations requires to re-build the complete Calender Interface.

view

Contains informations about the current view:

    view: {
        type: "days",       // The current view type
        date: new Date()    // The current view Date object
    }

select

The current selected value as Date Object or null if no value is currently selected.

events

All custom events, which has been registered with the .on() public method.

Methods

Placeholder

Internal & Helper Methods

Placeholder

.init()

Placeholder

.bind()

Placeholder

.trigger()

Placeholder

.calcPosition()

Placeholder

.convertDate()

Placeholder

Render & View Methods

.renderCalendar()

Placeholder

.renderDatePicker()

Placeholder

.renderTimePicker()

Placeholder

.viewDecades()

Placeholder

.viewYears()

Placeholder

.viewMonths()

Placeholder

.viewDays()

Placeholder

.showTooltip()

Placeholder

.hideTooltip()

Placeholder


Events & Callbacks

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.