Skip to content

Commit

Permalink
docs: document use of redirect property
Browse files Browse the repository at this point in the history
Close #8
  • Loading branch information
paodb committed Mar 7, 2023
1 parent bf8a474 commit c848077
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ whatsappButton.setLeadingIcon(true);
whatsappButton.setText("Hi, how can I help you?");
add(whatsappButton);
```

For not mobile devices, redirect should be enabled:
```java
whatsappButton.setRedirect(true);
```

## Special configuration when using Spring

By default, Vaadin Flow only includes ```com/vaadin/flow/component``` to be always scanned for UI components and views. For this reason, the addon might need to be whitelisted in order to display correctly.
Expand Down

0 comments on commit c848077

Please sign in to comment.