webapi: github.com/gowebapi/webapi/device/inputcapabilities Index | Files

package inputcapabilities

import "github.com/gowebapi/webapi/device/inputcapabilities"

Package inputcapabilities is a way to determine the capabilities of different input devices in response to DOM input events.


Package Files

doc.go inputcapabilities.go

type InputDeviceCapabilities Uses

type InputDeviceCapabilities struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value

class: InputDeviceCapabilities

func InputDeviceCapabilitiesFromJS Uses

func InputDeviceCapabilitiesFromJS(value js.Wrapper) *InputDeviceCapabilities

InputDeviceCapabilitiesFromJS is casting a js.Wrapper into InputDeviceCapabilities.

func NewInputDeviceCapabilities Uses

func NewInputDeviceCapabilities(deviceInitDict *InputDeviceCapabilitiesInit) (_result *InputDeviceCapabilities)

func (*InputDeviceCapabilities) FiresTouchEvents Uses

func (_this *InputDeviceCapabilities) FiresTouchEvents() bool

FiresTouchEvents returning attribute 'firesTouchEvents' with type bool (idl: boolean).

func (*InputDeviceCapabilities) JSValue Uses

func (_this *InputDeviceCapabilities) JSValue() js.Value

func (*InputDeviceCapabilities) PointerMovementScrolls Uses

func (_this *InputDeviceCapabilities) PointerMovementScrolls() bool

PointerMovementScrolls returning attribute 'pointerMovementScrolls' with type bool (idl: boolean).

type InputDeviceCapabilitiesInit Uses

type InputDeviceCapabilitiesInit struct {
    FiresTouchEvents       bool
    PointerMovementScrolls bool

dictionary: InputDeviceCapabilitiesInit

func InputDeviceCapabilitiesInitFromJS Uses

func InputDeviceCapabilitiesInitFromJS(value js.Wrapper) *InputDeviceCapabilitiesInit

InputDeviceCapabilitiesInitFromJS is allocating a new InputDeviceCapabilitiesInit object and copy all values from input javascript object

func (*InputDeviceCapabilitiesInit) JSValue Uses

func (_this *InputDeviceCapabilitiesInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package inputcapabilities imports 1 packages (graph) and is imported by 2 packages. Updated 2019-09-16. Refresh now. Tools for package owners.