Module "frontend-packages/react-cookie-banner/src/hooks/banner/useBannerStateContextCallbacks"
Type aliases
SetContextValueFunction
Functions
Const cancelEvent
- cancelEvent(e: MouseEvent): void
-
Parameters
Returns void
useBannerStateContextCallbacks
- useBannerStateContextCallbacks(__namedParameters: { revokeConsent: (state: BannerContextProps) => Promise<void>; toggleOverlay: (Anonymous function) }): { onClose: any; openBanner: any; openHistory: any; revokeConsent: any; selectHistoryEntry: any; updateCookieChecked: any; updateGroupChecked: any; updateIndividualPrivacyOpen: any; updateTcfFilterBy: any }
-
Parameters
-
__namedParameters: { revokeConsent: (state: BannerContextProps) => Promise<void>; toggleOverlay: (Anonymous function) }
-
revokeConsent: (state: BannerContextProps) => Promise<void>
-
-
Parameters
Returns Promise<void>
-
toggleOverlay: (Anonymous function)
Returns { onClose: any; openBanner: any; openHistory: any; revokeConsent: any; selectHistoryEntry: any; updateCookieChecked: any; updateGroupChecked: any; updateIndividualPrivacyOpen: any; updateTcfFilterBy: any }
-
onClose: function
-
Parameters
Returns void
-
openBanner: function
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["openBanner"]>
Returns void
-
openHistory: function
- openHistory(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["openHistory"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["openHistory"]>
Returns void
-
revokeConsent: function
- revokeConsent(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["revokeConsent"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["revokeConsent"]>
Returns void
-
selectHistoryEntry: function
- selectHistoryEntry(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["selectHistoryEntry"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["selectHistoryEntry"]>
Returns void
-
updateCookieChecked: function
- updateCookieChecked(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["updateCookieChecked"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["updateCookieChecked"]>
Returns void
-
updateGroupChecked: function
- updateGroupChecked(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["updateGroupChecked"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["updateGroupChecked"]>
Returns void
-
updateIndividualPrivacyOpen: function
- updateIndividualPrivacyOpen(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["updateIndividualPrivacyOpen"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["updateIndividualPrivacyOpen"]>
Returns void
-
updateTcfFilterBy: function
- updateTcfFilterBy(setContextValue: SetContextValueFunction, ...args: Parameters<BannerContextProps["updateTcfFilterBy"]>): void
-
Parameters
-
-
Rest ...args: Parameters<BannerContextProps["updateTcfFilterBy"]>
Returns void