CookieConsent
FreeA banner that asks which cookies are allowed. It remembers the answer in local storage, offers Accept all, Only necessary and a choice by category, and does not block the page.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Categories | IReadOnlyList<ConsentCategory> | Labels along the horizontal axis. |
Class | string | Extra CSS classes added to the root element. |
Message | string | |
PolicyHref | string | |
PolicyText | string | |
StorageKey | string | |
Style | string | Inline style added to the root element. |
Title | string | Title text (drawer header, tab caption, column header, step caption). |
Version | int |
Events
| Event | Type | Description |
|---|---|---|
OnConsent | EventCallback<IReadOnlyDictionary<string, bool>> |
Package
CookieConsent is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3