Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • ClipboardInfo

Index

Constructors

Properties

Methods

Constructors

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

    Parameters

    • type: number

      Defines the type of event (BABYLON.ClipboardEventTypes)

    • event: ClipboardEvent

      Defines the related dom event

    Returns ClipboardInfo

Properties

event: ClipboardEvent

Defines the related dom event

type: number

Defines the type of event (BABYLON.ClipboardEventTypes)

Methods

  • 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

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme