Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Cursor

A cursor which can iterate through the music sheet.

Hierarchy

  • Cursor

Index

Constructors

constructor

  • new Cursor(container: HTMLElement, osmd: OSMD): Cursor

Properties

Private container

container: HTMLElement

Private cursorElement

cursorElement: HTMLImageElement

Private graphic

Private hidden

hidden: boolean = true

Private iterator

Private manager

Private osmd

osmd: OSMD

Methods

hide

  • hide(): void

init

next

  • next(): void

reset

  • reset(): void

show

  • show(): void

update

  • update(): void

Private updateStyle

  • updateStyle(width: number, color?: string): void
  • Parameters

    • width: number
    • Default value color: string = "#33e02f"

    Returns void

Generated using TypeDoc