Skip to content

Commit 99117b7

Browse files
committed
Update README.md
1 parent 99d48c3 commit 99117b7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ import 'preview-shortcut/css';
4747
import {ShortcutPreview} from 'preview-shortcut';
4848

4949
const preview = new ShortcutPreview({
50-
selector? : string // default: #shortcut-preview
51-
name? : string
52-
url? : string
53-
data? : object
54-
header? : boolean // default: true
55-
meta? : boolean // default: true
56-
framework7 : Framework7 // defaults to internal instance
50+
data: {...} // plist data as JSON object
51+
// or...
52+
url: 'https://example.com/example.plist'
5753
});
5854
```
5955

56+
[Learn more on the project wiki.](https://github.com/electrikmilk/preview-shortcut/wiki)
57+
6058
#### Dark Mode Support
6159

6260
![Screenshot 2023-11-25 at 19 51 04](https://github.com/electrikmilk/preview-shortcut/assets/4368524/9cac0dc7-945c-4ada-804e-5c3e447f0fc3)

0 commit comments

Comments
 (0)