ScreenFull GWT

Simple gwtwrapper for the screenfull.js (cross-browser usage of the JavaScript Fullscreen API http://sindresorhus.com/screenfull.js)

Лицензия

Лицензия

Категории

Категории

GWT (Google Web Toolkit) Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

com.github.fworks
Идентификатор

Идентификатор

screenfullgwt
Последняя версия

Последняя версия

4.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

ScreenFull GWT
Simple gwtwrapper for the screenfull.js (cross-browser usage of the JavaScript Fullscreen API http://sindresorhus.com/screenfull.js)
Ссылка на сайт

Ссылка на сайт

https://github.com/fworks/screenfullgwt
Система контроля версий

Система контроля версий

http://github.com/fworks/screenfullgwt

Скачать screenfullgwt

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.fworks/screenfullgwt/ -->
<dependency>
    <groupId>com.github.fworks</groupId>
    <artifactId>screenfullgwt</artifactId>
    <version>4.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fworks/screenfullgwt/
implementation 'com.github.fworks:screenfullgwt:4.0.1'
// https://jarcasting.com/artifacts/com.github.fworks/screenfullgwt/
implementation ("com.github.fworks:screenfullgwt:4.0.1")
'com.github.fworks:screenfullgwt:jar:4.0.1'
<dependency org="com.github.fworks" name="screenfullgwt" rev="4.0.1">
  <artifact name="screenfullgwt" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fworks', module='screenfullgwt', version='4.0.1')
)
libraryDependencies += "com.github.fworks" % "screenfullgwt" % "4.0.1"
[com.github.fworks/screenfullgwt "4.0.1"]

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
com.google.gwt : gwt-user jar
com.google.gwt : gwt-dev jar

runtime (1)

Идентификатор библиотеки Тип Версия
com.google.gwt : gwt-servlet jar

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

screenfullgwt

Simple gwt wrapper for the screenfull.js

"Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences, so you don't have too." (http://sindresorhus.com/screenfull.js)

maven

<dependency>
  <groupId>com.github.fworks</groupId>
  <artifactId>screenfullgwt</artifactId>
  <version>4.0.1</version>
</dependency>

How to use

  1. Inherit the module
<!-- fullscreen -->
<inherits name="com.github.fworks.screenfullgwt.ScreenFullGWT" />
  1. Just call the static methods
ScreenFull.toggleFullScreen();
ScreenFull.requestFullScreen();
ScreenFull.isFullScreen();
ScreenFull.element();
ScreenFull.enabled();
ScreenFull.exitFullScreen();
// and more

Example (adding the toggle fullscreen on a button click handler:

fullscreenButton.addClickHandler(new ClickHandler() {
  @Override
  public void onClick(ClickEvent event) {
    ScreenFull.toggleFullScreen();
  }
});

Notes

Note that it is just a wrapper for the screenfull.js file defined here.

Please go to http://sindresorhus.com/screenfull.js to see more details about the js.

Версии библиотеки

Версия
4.0.1
3.0
1.0