component

Outputs an array of sponsor children with quotes (if available) and includes a button for paginating through the available results 9 at a time (through only dipslays 6 on first page due to presence 3 'featured' children)

sponsorshipChild

A list of children waiting to be sponsorted

setChildAnalytics

Writes child profile details into analyics. Updated the number of child profiles viewed.

sponsorshipChildren

A list of children waiting to be sponsorted

sponsorshipLogin

Main login component Vue object Manages the login form & passes recurring payments management to the component

Calls the API to get the children, call the callback on success, sets error on failure

getOdataFilter

Computes the filter for ODS API from component's filters

Returns string filter paramter for the ODS API

setSearchAnalytics

Set filter's paramters into an analytics object

directive

Directive that expects an element selector and will slide the user to the target onclick. Requires jQuery.

// ex. Slide to #target-element Click Me relies on a global function scrollTo, which is included in the global library

imagesToSvg

replaces svg icons in the template with svg elements, do this only in the app body, don't touch header/footer

Parameters

SponsorshipMatrix

Facilitates construction of the general sponsor child matrix per the logic described in this.schema.

setChildrenCountMixin

Increments the number of children viewed

windowSizeMixin

Expose some handy computed's for detecting screen size.

sponsorshipApp

Main app of the Sponsorship (not a Vue instance, that's provided by the router)

childrenLoaded

When children are loaded (list or single profile) dispatch a page view event

Parameters