Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
valnub authored Nov 13, 2021
1 parent 84fbb5c commit 601f676
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,31 @@ const f7params = {
};
```

Available options (if not set, default will be used)
#### For Framework7 Vue version

app.js

```
Framework7.use(F7WelcomescreenPlugin);
const app = createApp(App);
registerComponents(app);
app.mount('#app');
```

In your component add parameters in `onMounted()` and initilize:

```
onMounted(() => {
f7ready((f7) => {
f7.welcomescreen.init(welcomescreen_slides, options);
});
});
```

You can use same values for welcomescreen_slides and options as with React and Core version above.

#### Available options (if not set, default will be used)

- **bgcolor** Set background color
- **fontcolor** Set font color
Expand Down

0 comments on commit 601f676

Please sign in to comment.