You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function that accepts a string element id. Finds the first element in the current walkthrough with a matching `id` and sets that element as the current element.
A walkthrough guide is simply an array of objects, where each object correlates to a `WalkthroughElement`. Each element object in the guide must have an `id` and `content` to display in the tooltip bubble.
@@ -135,10 +158,12 @@ export default [
135
158
136
159
|Key|Type|Required|Description|
137
160
|---|----|-----|----|
138
-
|id|string|YES|id string that matches the corresponding WalkthroughElement|
139
161
|content|function/Element| YES | This is the view displayed in the tooltip popover bubble |
162
+
|id|string|YES|id string that matches the corresponding WalkthroughElement|
140
163
|placement|string|NO | Determines placement of tooltip in relation to the element it is wrapping
141
-
|triggerEvent|string|NO|string event id, this element will not appear until the triggerEvent is dispatched via `dispatchWalkthroughEvent`
164
+
|possibleOutcomes|array|NO|An array of objects with keys (`event`, `action`) that creates event listeners for multiple events to provide the ability to have an outcome tree that responds to a user's actions (listens to events dispatched via `dispatchWalkthroughEvent`|
142
165
|tooltipProps|object|NO|additional props to customize the tooltip functionality and style
166
+
|triggerEvent|string|NO|string event id, this element will not appear until the triggerEvent is dispatched via `dispatchWalkthroughEvent`
167
+
143
168
144
169
> To learn more about `placement` options and all the options for `tooltipProps` view the [`react-native-walkthrough-tooltip` README](https://github.com/jasongaare/react-native-walkthrough-tooltip#props)
0 commit comments