An info banner which works together with the hylo-cookie-banner component.
It opens after "delay" seconds after the page loaded or if the cookie banner opened, after the cookie banner closed.
Listens for the "click" event and checks if the target or any of its ancestors has the class "hylo-info-banner-close". If so, it closes itself.
The delay in seconds the info banner opens.
The time interval in days after the banner will open again since it got closed the last time.
Closes the banner.
sets the silents timer (optional, default: true)
Opens the banner.
Generated using TypeDoc
An info banner which works together with the hylo-cookie-banner component.
It opens after "delay" seconds after the page loaded or if the cookie banner opened, after the cookie banner closed.
Listens for the "click" event and checks if the target or any of its ancestors has the class "hylo-info-banner-close". If so, it closes itself.