You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,16 @@ Flip Card Add-on is written by Flowing Code S.A.
94
94
95
95
## Getting started
96
96
97
-
Add your code samples in this section
97
+
Basic example:
98
+
```java
99
+
FlipCard onHoverFlipCard = new FlipCard(new Span("front side"), new Span("back side"));
100
+
add(onHoverFlipCard);
101
+
102
+
FlipCard onClickFlipCard = new FlipCard(new Span("front side"), new Span("back side"), FlipCardVariant.CLICK);
103
+
add(onClickFlipCard);
104
+
```
105
+
106
+
More examples [here](https://github.com/FlowingCode/FlipCard/blob/initial-implementation/src/test/java/com/flowingcode/vaadin/addons/flipcard/FlipCardDemoView.java).
0 commit comments