Skip to content

Commit 91285af

Browse files
authored
Update README.md
1 parent 7ddc014 commit 91285af

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,11 @@ 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
5751
});
5852
```
5953

60-
[Learn more about usage on the project wiki.](https://github.com/electrikmilk/preview-shortcut/wiki)
54+
[Learn more on the project wiki.](https://github.com/electrikmilk/preview-shortcut/wiki)
6155

6256
#### Dark Mode Support
6357

0 commit comments

Comments
 (0)