BlockerCheckerCallback
BlockerCheckerCallback<ExtendedBlockerDefinition>: (by: string, requiredIds: number[], blockerId: number) => { blocker: ExtendedBlockerDefinition; consent: boolean }
Type parameters
Type declaration
-
- (by: string, requiredIds: number[], blockerId: number): { blocker: ExtendedBlockerDefinition; consent: boolean }
-
Parameters
-
by: string
-
requiredIds: number[]
-
blockerId: number
Returns { blocker: ExtendedBlockerDefinition; consent: boolean }
-
blocker: ExtendedBlockerDefinition
-
consent: boolean
Given by criteria, IDs and content blocker ID decide if the consent is given.