Skip to content

Add classes on notes to allow easier styling and manipulation #248

@cheap-glitch

Description

@cheap-glitch

Description

It would be incredibly useful to be able to select all the notes on a tablature with a simple $('.alphaTab-note'), e.g. to add some event listener. Even better, every note could have several classes, a common one (e.g.alphaTab-note) and others associated with its position or value (e.g alphaTab-note--14th-fret, alphaTab-note--1-6-2 for the 2nd note of the 6th beat on the 1st bar).

Possible Solutions

Current Workarounds

None that aren't very hackish.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions