Module: renderAdvents

Members

(inner, constant) adventDomGroups :Array.<Array.<Object>>

Array of Advent Group and Advent DOMs
Type:
  • Array.<Array.<Object>>
Source:

Methods

(inner) removeChildren(element)

Removes all children elements from Target Element
Parameters:
Name Type Description
element HTMLElement Target Element
Source:

(inner) renderAdvent(advent) → {HTMLElement}

Render Advent DOM Object from Advent Object
Parameters:
Name Type Description
advent Object Advent Object
Source:
Returns:
Advent DOM Object
Type
HTMLElement

(inner) renderAdventGroup(group) → {HTMLElement}

Render Advent Group DOM Object from Advent Group
Parameters:
Name Type Description
group Array.<Object> Advent Group
Source:
Returns:
Advent Group DOM Object
Type
HTMLElement

(inner) renderTagToggles(target1, target2)

Render Tag Toggles from Tags
Parameters:
Name Type Description
target1 HTMLElement Target to render Tag Toggles
target2 HTMLElement Target to render Timeline
Source:

(inner) renderTimeline(target)

Render Timeline from Advent DOM Groups
Parameters:
Name Type Description
target HTMLElement Target to render Timeline
Source:

(inner) toggleVisibility(findFn) → {function}

Creates Function to toggle Visibility of Element given a Find Function
Parameters:
Name Type Description
findFn function Function to find Element to Toggle from Target
Source:
Returns:
Function to toggle Visibility of Element
Type
function