Skip to content

Commit d2c66d2

Browse files
authored
Merge pull request #91 from remotestorage/doc/backdrop
Add documentation for new modal backdrop option
2 parents c7f3e4b + c6595f9 commit d2c66d2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ The widget has some configuration options to customize the behavior:
3030

3131
| Option | Description | Type | Default |
3232
|---|---|---|---|
33-
| `leaveOpen` | Keep the widget open when user clicks outside of it | Boolean | false |
34-
| `autoCloseAfter` | Timeout after which the widget closes automatically (in milliseconds). The widget only closes when a storage is connected. | Number | 1500 |
35-
| `skipInitial` | Don't show the initial connect hint, but show sign-in screen directly instead | Boolean | false |
36-
| `logging` | Enable logging for debugging purposes | Boolean | false |
33+
| `leaveOpen` | Keep the widget open when user clicks outside of it | Boolean | `false` |
34+
| `autoCloseAfter` | Timeout after which the widget closes automatically (in milliseconds). The widget only closes when a storage is connected. | Number | `1500` |
35+
| `skipInitial` | Don't show the initial connect hint, but show sign-in screen directly instead | Boolean | `false` |
36+
| `logging` | Enable logging for debugging purposes | Boolean | `false` |
37+
| `modalBackdrop` | Show a dark, transparent backdrop when opening the widget for connecting an account. `true` shows backdrop everywhere, `false` turns it off everywhere. Default is to only show it on small screens. | Boolean, String | `"onlySmallScreens"` |
3738

3839
Example:
3940

0 commit comments

Comments
 (0)