Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type KeyboardEvent
- func (k KeyboardEvent) AltKey() (bool, error)
- func (k KeyboardEvent) Code() (string, error)
- func (k KeyboardEvent) CtrlKey() (bool, error)
- func (k KeyboardEvent) IsComposing() (bool, error)
- func (k KeyboardEvent) Key() (string, error)
- func (k KeyboardEvent) KeyboardEvent_() KeyboardEvent
- func (k KeyboardEvent) Location() (int64, error)
- func (k KeyboardEvent) MetaKey() (bool, error)
- func (k KeyboardEvent) Repeat() (bool, error)
- func (k KeyboardEvent) ShiftKey() (bool, error)
- type KeyboardEventFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented KeyboardEvent") ErrNotAKeyboardEvent = errors.New("Object is not a KeyboardEvent") )
Functions ¶
Types ¶
type KeyboardEvent ¶
KeyboardEvent KeyboardEvent struct
func New ¶
func New(typeK string, opt ...map[string]interface{}) (KeyboardEvent, error)
New Create a KeyboardEvent
func NewFromJSObject ¶
func NewFromJSObject(obj js.Value) (KeyboardEvent, error)
func (KeyboardEvent) AltKey ¶
func (k KeyboardEvent) AltKey() (bool, error)
func (KeyboardEvent) Code ¶
func (k KeyboardEvent) Code() (string, error)
func (KeyboardEvent) CtrlKey ¶
func (k KeyboardEvent) CtrlKey() (bool, error)
func (KeyboardEvent) IsComposing ¶
func (k KeyboardEvent) IsComposing() (bool, error)
func (KeyboardEvent) Key ¶
func (k KeyboardEvent) Key() (string, error)
func (KeyboardEvent) KeyboardEvent_ ¶
func (k KeyboardEvent) KeyboardEvent_() KeyboardEvent
func (KeyboardEvent) Location ¶
func (k KeyboardEvent) Location() (int64, error)
func (KeyboardEvent) MetaKey ¶
func (k KeyboardEvent) MetaKey() (bool, error)
func (KeyboardEvent) Repeat ¶
func (k KeyboardEvent) Repeat() (bool, error)
func (KeyboardEvent) ShiftKey ¶
func (k KeyboardEvent) ShiftKey() (bool, error)
type KeyboardEventFrom ¶
type KeyboardEventFrom interface {
KeyboardEvent_() KeyboardEvent
}
Click to show internal directories.
Click to hide internal directories.