Initialize the cookie consent framework with the constructor
var cookieSettings = new BootstrapCookieConsent()
On a new visit the dialog is shown automatically. For reconfiguration
show the Dialog again with cookieSettings.showDialog()
.
Read all cookie settings with cookieSettings.getSettings()
Read a specific cookie setting with cookieSettings.getSettings('analyses')
var cookieSettings = new BootstrapCookieConsentSettings({
contentURL: "../content",
postSelectionCallback: function () {
location.reload() // reload after selection
}
})