web-music-score - v6.4.0-pre.9
    Preparing search index...

    Class ScoreObjectEvent

    Score object event for clicking/entering/leaving score object.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    kind: string = "ScoreObjectEvent"
    objects: MusicInterface[]

    Objects from root (first) to top (last).

    Event type: "enter", "leave" or "click".

    view: WmsView

    Score.WmsView object.

    Accessors

    • get renderContext(): MRenderContext

      Returns MRenderContext

      renderContext is deprecated. Will be removed in future release. Use view instead.

    Methods

    • Find object.

      Parameters

      • fn: (obj: MusicInterface) => boolean

        Compare function.

      • topToBottom: boolean = false

        Find from top to bottom or from bottom to top (default if omitted).

      Returns MusicInterface | undefined

      • First object that matched compare function, or undefined if no match.