We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b41336d commit ed51719Copy full SHA for ed51719
README.md
@@ -12,3 +12,30 @@ maven
12
<artifactId>screenfullgwt</artifactId>
13
<version>1.0</version>
14
</dependency>
15
+
16
17
+How to use
18
+==========
19
20
21
+1) Inherit the module
22
23
+ <!-- fullscreen -->
24
+ <inherits name="com.github.fworks.screenfullgwt.ScreenFullGWT" />
25
26
27
+2) Just call the static class methods
28
29
+ ScreenFull.toggleFullScreen();
30
31
+Example (adding the toggle fullscreen on a button click handler:
32
33
+ getView().getFullscreen().addClickHandler(new ClickHandler() {
34
+ @Override
35
+ public void onClick(ClickEvent event) {
36
37
+ }
38
+ });
39
40
41
0 commit comments