web / useCookieConsent
Function: useCookieConsent() ​
useCookieConsent(
name
):object
Parameters ​
• name: string
name of the cookie registered in the cookie bar apps/web/configuration/cookie.config.ts
Returns ​
object
accept() ​
accept: () =>
void
Returns ​
void
Description ​
Function to accept the specific cookie outside of the cookiebar
consent ​
consent:
Ref
<boolean
,boolean
> =false