Home > @uniformdev/context > PersonalizationSelectionAlgorithmOptions
PersonalizationSelectionAlgorithmOptions interface
Signature:
interface PersonalizationSelectionAlgorithmOptions<TCriteria, TVariant extends PersonalizedVariant<TCriteria> = PersonalizedVariant<TCriteria>>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
context | Context | Context instance | |
name | string | Name of placement (sent to analytics) | |
onLogMessage? | (message: LogMessage) => void | (Optional) Callback for logging messages | |
take? | number | (Optional) Maximum number of variants to place (default: 1) | |
variations | Iterable<TVariant> | Possible variations to place |