Class: JTSageDateBox

JTSageDateBox


new JTSageDateBox()

DateBox widget

Source:

Namespaces

_build
_customformat
_drag
_enhanceDate
_ord
_parser
_stdbtn
styleFunctions

Members


<static> _newDateCheck :Object

Contains functions to check the date

All functions expect a date object, and return a boolean for qualification

Type:
  • Object
Properties:
Name Type Description
enableDate function

Date exists in enableDates option

whiteDate function

Date exists in whiteDates option

notToday function

Date is today

maxYear function

Date is beyond maxYear

minYear function

Date is prior to minYear

afterToday function

Date is after today

beforeToday function

Date is before today

minDays function

Date is before minimum

maxDays function

Date is after maximum

minHour function

Time is before minimum

maxHour function

Time is after maximum

minTime function

Time is before minimum

maxTime function

Time is after maximum

validHours function

Hour is in validHours option

blackDays function

Day is in blackDays option

blackDates function

Date is in blackDates

blackDatesRec function

Date is in blackDatesRec

blackDatesPeriod function

Date is in blackDatesPeriod

Source:

<static> _ThemeDateCK :Object

Contains functions to choose the appropriate theme.

All functions expect a date object, and return a boolean for qualification

Type:
  • Object
Properties:
Name Type Description
selected function

Date is currently selected

today function

Date is today

highDates function

Date is in the highDates array

highDatesAlt function

Date is in the highDatesAlt array

highDatesRec function

Date is referenced in the highDatesRec option

highDatesPeriod function

Date is referenced in the highDatesPeriod option

highDays function

Day is in the highDays array

Source:

<static> baseID :string

ID of the datebox Input

Type:
  • string
Source:

<static> d :Object

Display elements

Type:
  • Object
Properties:
Name Type Description
input object

jQuery input element

wrap object

JQuery input element parent

mainWrap object

Control HTML wrap

intHTML object

Contol HTML insides

Source:

<static> dateOK :boolean

The selected date is valid

Type:
  • boolean
Source:

<static> icons :Object

Widget Icons

Type:
  • Object
Properties:
Name Type Description
next string

Next Chevron

prev string

Previous Chevron

plus string

Plus Sign

minus string

Minus Sign

check string

Check Mark

cancel string

X Mark, Cancel, Close

goto string

Goto symbol

clear string

Trash Can

clock string

Clock

calendar string

Calendar

getIcon function

Retrieve an icon by name (override with SVG)

Source:

<static> initDate :object

JavaScript date object, initialization date

Type:
  • object
Source:

<static> initSelector :string

Selector to auto-enhance

Type:
  • string
Source:

<static> lastDuration :number

Last entered duration in seconds

Type:
  • number
Source:

<static> lastDurationA :array

Last entered duration, [ days, hours, minutes, seconds ]

Type:
  • array
Source:

<static> options :Object

Widget Options

Type:
  • Object
Source:

<static> theDate :object

JavaScript date object, current date

Type:
  • object
Source:

Methods


<static> __(Index)

Find a i18n string (gettext of a sort)

This also handles the option overrideKeyName system, and falls back to
defaults before finally admitting defeat.

Parameters:
Name Type Description
Index string

to find

Source:
Returns:

Value of i18n entry

Type
*

<static> __fmt()

Get the most apporopriate formatting string depending on mode.

Includes an override setting for parseDate utility function.

Source:
Returns:

Format string

Type
string

<static> _btwn(value, low, high)

Checks if a number is between 2 other (non-inclusive)

i.e. Valid hours are 0...23, so _btwn(#, -1, 24)

Parameters:
Name Type Description
value number

Number to check

low number

Lower bound

high number

Upper bound

Source:
Returns:

True if number is between low and high

Type
boolean

<static> _cal_ThemeDate(javascript, dispMonth)

Apply theme information for a date

Parameters:
Name Type Description
javascript object

Date Object

dispMonth number

Current month of display

Source:
Returns:

Theme information

Type
_cal_ThemeDate_Return

<static> _check()

Check if the date is good - older method.

Also sets JTSageDateBox.dateOK

Source:
Returns:

Date is good

Type
boolean

<static> _create()

Create the widget, called automatically on initilization

Source:

<static> _dbox_enter(item)

This handles manual input to the input boxes in datebox, timebox,
durationbox, and datetimebox.

Parameters:
Name Type Description
item object

jQuery input object

Source:

<static> _dbox_run_update(shortRun)

Update the input boxes in the control

Parameters:
Name Type Description
shortRun boolean

Use shortrun (skip checking the date and setting the header)

Source:

<static> _destroy()

Destroy the DateBox widget and data

Source:

<static> _doBottomButtons(useSet)

Actually apply the bottom buttons to the control

Parameters:
Name Type Description
useSet boolean

Allow the set button to be displayed

Source:
Returns:

jQuery Object.

Type
object

<static> _doIndic()

Find all numbers in control and replace with eastern arabic

Source:

<static> _dRep(Text, -1)

Convert a digit to Indic or Arabic numerals.

Parameters:
Name Type Description
Text string

to alter

-1 number

to go back to western arabic, to eastern arabic otherwise

Source:
Returns:

Altered text

Type
string

<static> _dur(ms)

Break the duration into component parts

Parameters:
Name Type Description
ms number

Duration, in milliseconds

Source:
Returns:

[ days, hours, minutes, seconds ]

Type
array

<static> _event(e, p)

Handle events of the "datebox" type.

Valid events:

  • close : Close the control
  • open : Open the control
  • set : Change the date (p.value == date Object or date String)
  • doset : Populate the date
  • dooffset : Offset the date (p.value == amount, p.type == field)
  • dorefresh : Refresh the display
  • doclear : Clear the input
  • clear : Re-read the input?
Parameters:
Name Type Description
e object

jQuery event

p object

DateBox event

Properties
Name Type Description
closeCancel boolean

No idea what this does.

method string

Event method to run

value *

Can be a date object, date string, or amount to offset date

type string

Field to offset

Source:

<static> _fbox_do_dur_math(term, offset, position)

Get the numbers for duration box, also deal with breaks on 24 hrs, 60 min, 60 sec.

Parameters:
Name Type Description
term string

Field we are working on: d,h,i,s

offset number

Amount +/- from current

position number

Position in the display.

Source:
Returns:

Text to display

Type
string

<static> _fbox_do_roll_math(term, offset)

Find the appropriate tern for a flipbox element

Parameters:
Name Type Description
term string

Which element to work on: y,m,d,h,i,s,a

offset number

+/- from the current

Source:
Returns:

Text to display

Type
string

<static> _fixstepper(order)

This makes durationStep apply to the least precise duration
field. Stepping an earlier field has rather unexpected results.

Parameters:
Name Type Description
order array

Field display order

Source:

<static> _formatter(format, date, allowArIn)

Format a date with a given string format.

Parameters:
Name Type Description
format string

Text representation of the format

date object

JavaScript date to be formatted

allowArIn boolean

Allow indic number translation, default true

Source:
Returns:

Formatted Date

Type
string

<static> _getCleanDur()

Clean up the duration amount.

Checks for negatives, and applies minDur/maxDur if set

Returns nothing but sets JTSageDateBox.lastDuration and
JTSageDateBox.lastDurationA

Source:

<static> _getFldOrder(mode)

Get the appropriate filed order for the mode

Parameters:
Name Type Description
mode string

Mode of operation

Source:
Returns:

Field order

Type
array

<static> _getLongOptions(element)

Get the "long" version of the options from the input

Parameters:
Name Type Description
element Object

jQuery object, original input element

Source:
Returns:

Found elements, shallow object

Type
Object

<static> _grabLabel()

Finds the most appropriate label for the DateBox.

0, overrideDialogLabel, if set

  1. Placeholder text, if set
  2. Title attribute, if set
  3. Label attached to input, if found
  4. boolean false
Source:
Returns:

Label for DateBox

Type
string

<static> _makeDate(Date, When)

Attempt to parse a date string. Format is pulled from JTSageDateBox.__fmt

Parameters:
Name Type Description
Date string

string to parse

When boolean

true, return an array instead with the status of the parse as arr[1]

Source:
Returns:

JavaScript Date Object

Type
object

<static> _minStepFix()

Fix minutes of the date based on minuteStep option.

Round according to minStepRound

Source:

<static> _n(val, def)

Instead of a negative val, return a defautl def

Parameters:
Name Type Description
val number

Value to check

def number

Default if value is negative

Source:
Returns:

OK or changed value

Type
number

<static> _newDateChecker(testDate)

Check if the date is valid.

Note both failrule and passrule can be false if the date is valid but not
explicitly valid.

Parameters:
Name Type Description
testDate object
Source:
Returns:
Type
_newDateChecker_Return

<static> _offset(mode, amount, update)

This method offsets the current date. Do it in such a way that rollover can be prevented

Parameters:
Name Type Description
mode string

Element to shift

amount number

Amount to shift +/-

update boolean

Set to false, will not update display

Source:

<static> _pa(arr, date)

This cleans un-needed information from a date.

Returns a new date, does not alter reference.

Always sets milliseconds to 0.

When 2nd argument is a boolean, returns a date of Y-M-DT00:00:00 using arr

When 2nd argument is a date, returns [date]T(arg[0][0]):(arg[0][1]):(arg[0][2])

Parameters:
Name Type Description
arr array

h,m,s or y,m,d depending on arg[1]

date object | boolean

Date object, or boolean false

Source:
Returns:

JavaScript date object

Type
object

<static> _pickRanges(dispMonth, dispYear, realYear, relative)

Generate the ranges (data contents) of the month and year pickers

Parameters:
Name Type Description
dispMonth number

Current month displayed

dispYear number

Current year displayed

realYear number

Today's year

relative boolean

Year is realtive to real current year, not selected year

Source:
Returns:
Type
_pickRanges_Return

<static> _posZero(test)

Make sure a position number isn't less than zero

Parameters:
Name Type Description
test number

Number to test

Source:
Returns:

Resulting number

Type
number

<static> _prepFunc(Value)

Prep function, pull from global if needed

Parameters:
Name Type Description
Value mixed

of function option

Source:
Returns:

Function, or false

Type
mixe

<static> _setOption(Option, Option)

Set an option, then refresh display

Parameters:
Name Type Description
Option string

Name

Option string

Value

Source:

<static> _slide_ThemeDate(javascript)

Apply theme information for a date

Parameters:
Name Type Description
javascript object

Date Object

Source:
Returns:

Theme information

Type
_slide_ThemeDate_Return

<static> _startOffset(date)

Alter a date by the startOffset values.

Parameters:
Name Type Description
date object

JavaScript date object

Source:
Returns:

JavaScript date object

Type
object

<static> _stdSel(data, id, cls)

Create a simple select html element

Parameters:
Name Type Description
data Array.<Array>

Each inside array is [ value, title, selected(bool) ]

id string

HTML ID for the select

cls string

Class for the select

Source:
Returns:

Completed select element

Type
String

<static> _t(Object)

Shortcut method to run a trigger. Used to cut quite a few characters from minified output

Parameters:
Name Type Description
Object object

to pass to trigger

Source:

<static> _zPad(number, pad)

Zero pad a number

Parameters:
Name Type Description
number number

Number to alter

pad string

If pad is "-", do nothing

Source:
Returns:

Formatted number

Type
string

<static> applyMinMax(refresh, override)

Apply the HTML min/max attributes (minDate / maxDate)

Parameters:
Name Type Description
refresh boolean

Refresh the display when done

override boolean

Allow overriding minDate/maxDate if already set

Source:

<static> callFormat(format, date, allowArIn)

Format a date via JTSageDateBox._makeDate

Parameters:
Name Type Description
format string

Format string to use

date object

Date to format

allowArIn boolean

Allow indic number translation, default true

Source:
Returns:

Formatted date

Type
string

<static> close()

Close the DateBox widget

Source:

<static> dateVisible()

Ask if the currently selected date is visible in the display

Source:
Returns:

True on date is visible

Type
boolean

<static> disable()

Disable the control

Source:

<static> enable()

Enable the control

Source:

<static> getCalEndGrid()

Return last date of visible calendar grid

Source:
Returns:

JavaScript Date Object

Type
object

<static> getCalStartGrid()

Return first date of visible calendar grid

Source:
Returns:

JavaScript Date Object

Type
object

<static> getDropPosition()

Find position for dropdown

We do all of the possible calculations every time. Simple math is cheap.

Source:
Returns:

CSS for the widget in dropdown mode.

Type
object

<static> getLastDur()

Get the current duration

Source:
Returns:

Current duration

Type
number

<static> getModalPosition()

Find position for modal

Source:
Returns:

CSS for the datebox in modal mode

Type
object

<static> getOption(opt)

Get the value of an option, auto-search the i18n values (first)

Parameters:
Name Type Description
opt string

Option name

Source:
Returns:

Option value

Type
string

<static> getSelectedDate()

Get the currently selected date

Source:
Returns:

Current Date, JavaScript date object

Type
object

<static> getTheDate()

Get the current date

Source:
Returns:

Current Date, JavaScript date object

Type
object

<static> isInCalGrid(JavaScript)

Is the specified date in the visible calendar grid?

Parameters:
Name Type Description
JavaScript object

Date Object

Source:
Returns:

True = yes it is

Type
boolean

<static> isSelectedInCalGrid()

Is the currently selected date in the visible calendar grid?

Source:
Returns:

True = yes it is

Type
boolean

<static> open()

Open the DateBox widget

Source:

<static> parseDate(format, strdate)

Parse an arbitrary date with an arbitrary format

Parameters:
Name Type Description
format string

Format to parse

strdate string

String to parse

Source:
Returns:

JavaScript date

Type
object

<static> parseISO(strdate)

Parse a string ISO date

Parameters:
Name Type Description
strdate string

ISO string to parse (YYYY-MM-DD)

Source:
Returns:

JavaScript date

Type
object

<static> refresh()

Refresh the display

Source:

<static> setTheDate(newDate)

Set the date.

When passing strings, date must be formatted exactly how DateBox would do it.

Parameters:
Name Type Description
newDate string | object

JavaScript date or string in proper format

Source:

<static> style_attach(isInline)

Find the attacment point for the control

Parameters:
Name Type Description
isInline boolean

control is being inlined

Source:
Returns:

jQuery attachment point

Type
object

<static> style_btn(theme, contents)

Make a button

Parameters:
Name Type Description
theme array

Theme class and icon for the button

contents string

Text contents of the button (if any)

Source:
Returns:

Created button

Type
string

<static> style_btnGrp(collapse)

Make a button group

Parameters:
Name Type Description
collapse boolean

Attempt to display buttons on one line

Source:
Returns:

jQuery object of a button group that buttons can be appended to

Type
object

<static> style_btnGrp(collapse)

Make a button group

Parameters:
Name Type Description
collapse boolean

Attempt to display buttons on one line

Source:
Returns:

jQuery object of a button group that buttons can be appended to

Type
object

<static> style_calBtn(data, totalElements)

Create a clickable box for each grid item in calbox.

MUST have the "dbEvent" class

Parameters:
Name Type Description
data object

Date information object

Properties
Name Type Description
bad boolean

True if the date is invalid

good boolean

True if the date is valid

theme string

Theme class for the button

displayText string

Text of the date

dateObj object

Date object

totalElements number

Number of elements in the row ( 7 or 8 )

Source:
Returns:

jQuery Object

Type
object

<static> style_calBtn(data, totalElements)

Create a clickable box for each grid item in calbox.

MUST have the "dbEvent" class

Parameters:
Name Type Description
data object

Date information object

Properties
Name Type Description
bad boolean

True if the date is invalid

good boolean

True if the date is valid

theme string

Theme class for the button

displayText string

Text of the date

dateObj object

Date object

totalElements number

Number of elements in the row ( 7 or 8 )

Source:
Returns:

jQuery Object

Type
object

<static> style_calGrid()

Create the calbox grid container. Probably a table

Source:
Returns:

jQuery object

Type
object

<static> style_calGrid()

Create the calbox grid container. Probably a table

Source:
Returns:

jQuery object

Type
object

<static> style_calRow()

Create a calbox grid row. Probably a tr

Source:
Returns:

jQuery object

Type
object

<static> style_calRow()

Create a calbox grid row. Probably a tr

Source:
Returns:

jQuery object

Type
object

<static> style_dateList(listLabel, list, theme, ctlCls)

Make the calbox/slidebox drop down quick pick list.

Consider using _stdSel()

Parameters:
Name Type Description
listLabel string

Label for the list

list array

Containing arrays of [ value, text, selected (boolean) ]

theme string

Theme class

ctlCls string

Control class for select

Source:
Returns:

jQuery Object

Type
object

<static> style_dateList(listLabel, list, theme, ctlCls)

Make the calbox/slidebox drop down quick pick list.

Consider using _stdSel()

Parameters:
Name Type Description
listLabel string

Label for the list

list array

Containing arrays of [ value, text, selected (boolean) ]

theme string

Theme class

ctlCls string

Control class for select

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxCtr()

Make the datebox mode container.

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxCtr()

Make the datebox mode container.

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxCtrl(prevBtn, nextBtn, mainCls, label, inTheme)

Make a datebox +/-/input control

Next button MUST have "dbBoxNext" class
Previous button MUST have "dbBoxPrev" class
Container must have "mainCls"

Parameters:
Name Type Description
prevBtn string

Previous button icon (name or SVG) & class

nextBtn string

Next button icon (name of SVG) & class

mainCls string

Class for the control (input type)

label string

Label, if needed

inTheme string

Theme for inputs

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxCtrl(prevBtn, nextBtn, mainCls, label, inTheme)

Make a datebox +/-/input control

Next button MUST have "dbBoxNext" class
Previous button MUST have "dbBoxPrev" class
Container must have "mainCls"

Parameters:
Name Type Description
prevBtn string

Previous button icon (name or SVG) & class

nextBtn string

Next button icon (name of SVG) & class

mainCls string

Class for the control (input type)

label string

Label, if needed

inTheme string

Theme for inputs

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxRow()

Make the datebox control row

Source:
Returns:

jQuery Object

Type
object

<static> style_dboxRow()

Make the datebox control row

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxCtr(size)

Make the container for the flipbox

Parameters:
Name Type Description
size number

Height CSS property

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxCtr(size)

Make the container for the flipbox

Parameters:
Name Type Description
size number

Height CSS property

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxDurLbl(text, items)

Make a flibox label

Parameters:
Name Type Description
text string

Text of the label

items number

Total number of items

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxDurLbl(text, items)

Make a flibox label

Parameters:
Name Type Description
text string

Text of the label

items number

Total number of items

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxDurLbls()

Make a container for flipbox labels

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxDurLbls()

Make a container for flipbox labels

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxLens()

Make the flipbox lens

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxLens()

Make the flipbox lens

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxPos()

Position the flip elements. Overrides the base function if it exists

Source:

<static> style_fboxPos()

Position the flip elements. Overrides the base function if it exists

Source:

<static> style_fboxRollCld(text, cls)

Make a flipbox element (innermost) - usually a LI

Parameters:
Name Type Description
text string
cls string
Source:
Returns:

jQuery Object

Type
object

<static> style_fboxRollCld(text, cls)

Make a flipbox element (innermost) - usually a LI

Parameters:
Name Type Description
text string
cls string
Source:
Returns:

jQuery Object

Type
object

<static> style_fboxRollCtr(total)

Make a flipbox roller container (outermost)

Parameters:
Name Type Description
total number

Number of items

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxRollCtr(total)

Make a flipbox roller container (outermost)

Parameters:
Name Type Description
total number

Number of items

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxRollPrt()

Make a flipbox roller container (middle) - usually a UL

Source:
Returns:

jQuery Object

Type
object

<static> style_fboxRollPrt()

Make a flipbox roller container (middle) - usually a UL

Source:
Returns:

jQuery Object

Type
object

<static> style_inBtn(icon, title)

Create the open button that is added to the input

MUST contain dbOpenButton class. (outer)

Parameters:
Name Type Description
icon string

Icon to use (name or SVG)

title string

Hover text for the button

Source:
Returns:

Rendered HTML of the open button

Type
string

<static> style_inBtn(icon, title)

Create the open button that is added to the input

MUST contain dbOpenButton class. (outer)

Parameters:
Name Type Description
icon string

Icon to use (name or SVG)

title string

Hover text for the button

Source:
Returns:

Rendered HTML of the open button

Type
string

<static> style_inHide()

Hide the input element completely.

Source:

<static> style_inNoBtn(originalInputWrap)

When not using the open button, we may need to alter the wrap class differently

Parameters:
Name Type Description
originalInputWrap object

jQuery object

Source:

<static> style_inNoBtn(originalInputWrap)

When not using the open button, we may need to alter the wrap class differently

Parameters:
Name Type Description
originalInputWrap object

jQuery object

Source:

<static> style_inWrap(originalInput, theme)

Wrap the original input in a div so we can add a button to it

Parameters:
Name Type Description
originalInput object

Original input element, jQuery object

theme string

Theme class

Source:
Returns:

jQuery object now wrapped with some sort of div

Type
object

<static> style_inWrap(originalInput, theme)

Wrap the original input in a div so we can add a button to it

Parameters:
Name Type Description
originalInput object

Original input element, jQuery object

theme string

Theme class

Source:
Returns:

jQuery object now wrapped with some sort of div

Type
object

<static> style_mainHead(text, themeBar, themeButton)

Make the header for every mode

Close button MUST include the "dbCloser" class.

Parameters:
Name Type Description
text string

Text of the header

themeBar string

Theme class for the header

themeButton string

Icon & Theme for the close button

Source:
Returns:

Rendered HTML

Type
string

<static> style_picker(ranges, theme, monthCtl, yearCtl)

Create the year and month picker for calbox / slidebox

Parameters:
Name Type Description
ranges object

Year and Month arrays

Properties
Name Type Description
year array

Containing arrays of [ value, text, selected (boolean) ]

month array

Containing arrays of [ value, text, selected (boolean) ]

theme string

Theme class for controls

monthCtl string

Control class for month picker

yearCtl string

Control class for year picker

Source:
Returns:

jQuery Object

Type
object

<static> style_picker(ranges, theme, monthCtl, yearCtl)

Create the year and month picker for calbox / slidebox

Parameters:
Name Type Description
ranges object

Year and Month arrays

Properties
Name Type Description
year array

Containing arrays of [ value, text, selected (boolean) ]

month array

Containing arrays of [ value, text, selected (boolean) ]

theme string

Theme class for controls

monthCtl string

Control class for month picker

yearCtl string

Control class for year picker

Source:
Returns:

jQuery Object

Type
object

<static> style_pnHead(txt, prevBtn, nextBtn, prevCtl, nextCtl)

Make the header for calbox / slidebox

Parameters:
Name Type Description
txt string

Text to display

prevBtn string

Previous button icon (name or SVG) & class

nextBtn string

Next button icon (name or SVG) & class

prevCtl string

Control class for previous button

nextCtl string

Control class for next button

Source:
Returns:

jQuery Object

Type
object

<static> style_pnHead(txt, prevBtn, nextBtn, prevCtl, nextCtl)

Make the header for calbox / slidebox

Parameters:
Name Type Description
txt string

Text to display

prevBtn string

Previous button icon (name or SVG) & class

nextBtn string

Next button icon (name or SVG) & class

prevCtl string

Control class for previous button

nextCtl string

Control class for next button

Source:
Returns:

jQuery Object

Type
object

<static> style_slideBtn(data)

Create a clickable box for each grid date in slidebox.

MUST have the "dbEventS" class

Parameters:
Name Type Description
data object

Date information object

Properties
Name Type Description
bad boolean

True if the date is invalid

good boolean

True if the date is valid

theme string

Theme class for the button

dateObj object

Date object

Source:
Returns:

jQuery Object

Type
object

<static> style_slideBtn(data)

Create a clickable box for each grid date in slidebox.

MUST have the "dbEventS" class

Parameters:
Name Type Description
data object

Date information object

Properties
Name Type Description
bad boolean

True if the date is invalid

good boolean

True if the date is valid

theme string

Theme class for the button

dateObj object

Date object

Source:
Returns:

jQuery Object

Type
object

<static> style_slideCtrl(eventCls, theme)

Create next/prev week buttons for slidebox

Parameters:
Name Type Description
eventCls string

The event class. Should be placed on the button

theme string

Icon to use for button ( name or SVG ) & theme

Source:
Returns:

jQuery Object

Type
object

<static> style_slideCtrl(eventCls, theme)

Create next/prev week buttons for slidebox

Parameters:
Name Type Description
eventCls string

The event class. Should be placed on the button

theme string

Icon to use for button ( name or SVG ) & theme

Source:
Returns:

jQuery Object

Type
object

<static> style_slideGrid()

Make the grid container for slidebox (usually a table)

Source:
Returns:

jQuery Object

Type
object

<static> style_slideGrid()

Make the grid container for slidebox (usually a table)

Source:
Returns:

jQuery Object

Type
object

<static> style_slideRow()

Make the grid for for slidebox (usually a TR)

Source:
Returns:

jQuery Object

Type
object

<static> style_slideRow()

Make the grid for for slidebox (usually a TR)

Source:
Returns:

jQuery Object

Type
object

<static> style_subHead(text)

Make an internal header ( datebox & flipbox )

MUST have the "dbHeader" class

Parameters:
Name Type Description
text string

Text to display

Source:
Returns:

jQuery object

Type
object

<static> style_subHead(text)

Make an internal header ( datebox & flipbox )

MUST have the "dbHeader" class

Parameters:
Name Type Description
text string

Text to display

Source:
Returns:

jQuery object

Type
object