Cookie Notice
Falcon has a built-in notification component that allows users to notify cookie uses on the website.
Toggle NotificationStructure
Falcon's Cookie Notice uses Bootstrap's "Toast" feature to show the notice content. .notice
class is responsible for showing the notice as a popup. See Toasts documentation on Bootstrap.
<div class="toast notice" role="alert" data-options='{"autoShow":true,"autoShowDelay":0,"showOnce":true,"cookieExpireTime":7200000}' data-autohide="false" aria-live="assertive" aria-atomic="true">
<div class="toast-body">
<!-- Your notice content -->
</div>
</div>
Options
You can pass options via data-options
through .notice
element to control it's behavior.