Skip to content

@uservane/react-native: UserVaneContextValue

UserVaneContextValue = object

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:18

active: ActiveSurvey | null

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:27

Currently visible survey, if any. Null when nothing is showing.


apiBase: string | undefined

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:20


apiKey: string

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:19


complete: (result) => void

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:31

Complete with rating (and optional free-text / follow-up request).

boolean

number

string

void


debug: boolean | undefined

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:21


dismiss: () => void

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:29

Dismiss without submitting a rating.

void


identify: (opts) => void

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:25

Identify the respondent; re-bootstraps for server suppression + tokens.

IdentifyOptions

void


survey: (slug) => void

Defined in: @[email protected]_react-native@0.86.0_@[email protected]_@[email protected]_react@[email protected]/node_modules/@uservane/react-native/dist/index.d.ts:23

Imperative survey trigger by slug. Buffers until bootstrap completes.

string

void