Class: LandingPageVisits

LandingPageVisits(checkFn, callback)

new LandingPageVisits(checkFn, callback)

Parameters:
Name Type Description
checkFn function
callback function
Source:

Methods

load() → {Array.<int, string>}

Source:
Returns:
[int, str]
Type
Array.<int, string>

save(num, message)

save the values as json to the local storage
Parameters:
Name Type Description
num int number of page visits
message boolean if a message is shown or not
Source: