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
Returns a `Promise<HTMLDivElement>`, which resolves when the Immersive Reader is loaded. The `Promise` resolves to a `div` element whose only child is an `iframe` element that contains the Immersive Reader page.
49
+
Returns a `Promise<LaunchResponse>`, which resolves when the Immersive Reader is loaded. The `Promise` resolves to a [`LaunchResponse`](#launchresponse) object.
50
50
51
51
### Exceptions
52
52
@@ -105,6 +105,17 @@ A single chunk of data, which will be passed into the Content of the Immersive R
105
105
}
106
106
```
107
107
108
+
### LaunchResponse
109
+
110
+
Contains the response from the call to `ImmersiveReader.launchAsync`.
111
+
112
+
```typescript
113
+
{
114
+
container: HTMLDivElement; // HTML element which contains the Immersive Reader iframe
115
+
sessionId: string; // Globally unique identifier for this session, used for debugging
116
+
}
117
+
```
118
+
108
119
### CookiePolicy enum
109
120
110
121
An enum used to set the policy for the Immersive Reader's cookie usage. See [options](#options).
@@ -182,7 +194,7 @@ Contains information about the error.
182
194
183
195
## Launching the Immersive Reader
184
196
185
-
The SDK provides default styling for the button for launching the Immersive Reader. Use the `immersive-reader-button` class attribute to enable this styling.
197
+
The SDK provides default styling for the button for launching the Immersive Reader. Use the `immersive-reader-button` class attribute to enable this styling. See [this article](./how-to-customize-launch-button.md) for more details.
0 commit comments