UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

16 lines (15 loc) 533 B
import { NamedElement } from '../util'; import { StartStop } from './enums'; /** * The `<hammer-on>` element is used in guitar and fretted instrument notation. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/hammer-on/ */ export declare class HammerOn { private element; constructor(element: NamedElement<'hammer-on'>); /** Returns the number of the hammer-on. Defaults to null. */ getNumber(): number | null; /** Returns the type of hammer-on. */ getType(): StartStop | null; }