dragevent

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented DragEvent")
	ErrNotAnDragEvent = errors.New("Object is not an DragEvent")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get teh JS interface of event

Types

type DragEvent

type DragEvent struct {
	mouseevent.MouseEvent
}

DragEvent DragEvent struct

func New

func New(typeevent string, init ...map[string]interface{}) (DragEvent, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (DragEvent, error)

func (DragEvent) DataTransfer

func (d DragEvent) DataTransfer() (datatransfer.DataTransfer, error)

func (DragEvent) DragEvent_

func (d DragEvent) DragEvent_() DragEvent

type DragEventFrom

type DragEventFrom interface {
	DragEvent_() DragEvent
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL