ClipboardInfo

This class is used to store clipboard related info for the onClipboardObservable event.

Hierarchy

  • ClipboardInfo

Index

Constructors

Properties

Methods

Constructors

constructor

Find examples in Playground
  • new ClipboardInfo(type: number, event: ClipboardEvent): ClipboardInfo
  • Creates an instance of ClipboardInfo.

    Parameters

    • type: number
    • event: ClipboardEvent

    Returns ClipboardInfo

Properties

event

Find examples in Playground
event: ClipboardEvent

Defines the related dom event

type

Find examples in Playground
type: number

Defines the type of event (BABYLON.ClipboardEventTypes)

Methods

Static GetTypeFromCharacter

Find examples in Playground
  • GetTypeFromCharacter(keyCode: number): number
  • Get the clipboard event's type from the keycode.

    Parameters

    • keyCode: number

      Defines the keyCode for the current keyboard event.

    Returns number

Generated using TypeDoc