| Package | Description |
|---|---|
| com.rapidclipse.framework.server.webapi.screen |
| Modifier and Type | Method and Description |
|---|---|
ScreenOrientation |
ScreenOrientation.setAngle(int angle) |
ScreenOrientation |
ScreenOrientation.setType(ScreenOrientation.OrientationType type) |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
Screen.addScreenOrientationListener(com.vaadin.flow.function.SerializableConsumer<ScreenOrientation> listener)
Register a callback that is triggered everytime the devices screen orientation has changed.
|
static void |
Screen.getScreenOrientation(Consumer<ScreenOrientation> callback)
Ask the device in which screen orientation it currently is.
|
Copyright © 2020 XDEV Software Corp.. All rights reserved.