Options
All
  • Public
  • Public/Protected
  • All
Menu

A single Mouse Cursor

Hierarchy

  • any
    • Cursor

Index

Constructors

Properties

Methods

Constructors

  • Parameters

    • user: any

    Returns Cursor

Properties

target: { x: number; y: number }

Type declaration

  • x: number
  • y: number

Methods

  • draw(user: any): void
  • Draw the user's cursor as a small dot with their user name attached as text

    Parameters

    • user: any

    Returns void

  • _animate(): void
  • Move an existing cursor to a new position smoothly along the animation loop

    Returns void

  • destroy(options: any): void
  • inheritdoc

    Parameters

    • options: any

    Returns void