API Docs for:
Show:

Modules.CookieNote Class

The CookieNote module allows to show/hide layers with information about the use of cookies on the website(s)

Constructor

Modules.CookieNote

(
  • rootNode
)
CookieNote

Parameters:

  • rootNode DOMNode

    The root node of the widget

Returns:

CookieNote:

A new instance

Item Index

Methods

Methods

config

(
  • options
)
Module static

Allows to configure global settings for all CookieNote instances

Parameters:

  • options Object

    Object of configurable fields

    • expiresAfter Integer

      Number of days the layers keep hidden

Returns:

Module:

The CookieNote module itself

startUp

() Undefined static

Starts the CookieNote module, means it initializes all CookieNote DOM nodes at once

Returns:

Undefined:

Nothing