@uservane/browser: SurveyDefinition
Type Alias: SurveyDefinition
Section titled “Type Alias: SurveyDefinition”SurveyDefinition =
object
Defined in: types.ts:30
Properties
Section titled “Properties”corner?
Section titled “corner?”
optionalcorner?:Corner
Defined in: types.ts:38
delayMs?
Section titled “delayMs?”
optionaldelayMs?:number
Defined in: types.ts:44
Fixed delay (ms) after page-idle before auto appearance. Fires once. Not idle-detection hunting. Default 8000.
endLabels?
Section titled “endLabels?”
optionalendLabels?:object
Defined in: types.ts:50
high:
string
low:
string
followUpQuestion?
Section titled “followUpQuestion?”
optionalfollowUpQuestion?:string
Defined in: types.ts:36
Optional free-text follow-up. Always skippable.
id:
string
Defined in: types.ts:31
presentation
Section titled “presentation”presentation:
Presentation
Defined in: types.ts:37
question
Section titled “question”question:
string
Defined in: types.ts:34
samplePercent?
Section titled “samplePercent?”
optionalsamplePercent?:number
Defined in: types.ts:46
Deterministic audience sampling 0–100. Default 100.
showBadge?
Section titled “showBadge?”
optionalshowBadge?:boolean
Defined in: types.ts:49
Free plan shows a small “Powered by UserVane” link.
slug:
string
Defined in: types.ts:32
targeting?
Section titled “targeting?”
optionaltargeting?:TraitPredicate[]
Defined in: types.ts:47
trigger
Section titled “trigger”trigger:
Trigger
Defined in: types.ts:39
type:
SurveyType
Defined in: types.ts:33