Commit 476c3cc
committed
fix(core): expose plugin APIs through singleton
- Add getter properties for modal, inline, banner on singleton
- Allows script tag users to access window.experiences.modal.show()
- Fixes playground getting stuck at 'Loading Experience SDK...'
Now window.experiences.modal, .inline, .banner are available1 parent 6d279cf commit 476c3cc
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
191 | 201 | | |
192 | 202 | | |
193 | 203 | | |
| |||
0 commit comments