Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClipboardInfo

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

Hierarchy

  • ClipboardInfo

Index

Constructors

Properties

Methods

Constructors

constructor

  • 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

eventSearch playground for event

event: ClipboardEvent

Defines the related dom event

typeSearch playground for type

type: number

Defines the type of event (BABYLON.ClipboardEventTypes)

Methods

Static GetTypeFromCharacterSearch playground for GetTypeFromCharacter

  • 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 property
  • Inherited method
  • Static property
  • Static method