Home > @uniformdev/context > PersonalizationSelectionAlgorithmOptions

PersonalizationSelectionAlgorithmOptions interface

Signature:

interface PersonalizationSelectionAlgorithmOptions<TCriteria, TVariant extends PersonalizedVariant<TCriteria> = PersonalizedVariant<TCriteria>> 

Properties

PropertyModifiersTypeDescription
contextContextContext instance
namestringName 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)
variationsIterable<TVariant>Possible variations to place