Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnDeviceReady ¶
func OnDeviceReady(fn func())
Types ¶
type DeviceInfo ¶
type DeviceInfo struct {
*js.Object
Cordova string `js:"cordova"`
Model string `js:"model"`
Platform string `js:"platform"`
Uuid string `js:"uuid"`
Version string `js:"version"`
Manufacturer string `js:"manufacturer"`
// whether the device is running on a simulator.
IsVirtual bool `js:"isVirtual"`
// Get the device hardware serial number
Serial string `js:"serial"`
}
func Device ¶
func Device() *DeviceInfo
Directories
¶
| Path | Synopsis |
|---|---|
|
plugins
|
|
|
background-mode
Package background is a GopherJS wrapper of Cordova Plugin: https://github.com/katzer/cordova-plugin-background-mode
|
Package background is a GopherJS wrapper of Cordova Plugin: https://github.com/katzer/cordova-plugin-background-mode |
|
callnumber
Package callnumber is a GophjerJS wrapper of https://github.com/Rohfosho/CordovaCallNumberPlugin
|
Package callnumber is a GophjerJS wrapper of https://github.com/Rohfosho/CordovaCallNumberPlugin |
|
shell-exec
// Package shell is a GophjerJS wrapper of https://github.com/petervojtek/cordova-plugin-shell-exec
|
// Package shell is a GophjerJS wrapper of https://github.com/petervojtek/cordova-plugin-shell-exec |
Click to show internal directories.
Click to hide internal directories.