vue-piano-roll
Version:
A DAW-like Piano Roll Vue Component.
33 lines (32 loc) • 1.25 kB
TypeScript
import { type OctaveNote } from "../assets/notes";
import type { PianoRollProps, ShadowMap } from "../assets/piano";
declare const __VLS_export: import("vue").DefineComponent<PianoRollProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<PianoRollProps> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
length: number | "infinite";
zoomX: number;
zoomY: number;
rangeBottom: OctaveNote;
rangeTop: OctaveNote;
currentBeat: number;
ticksPerBeat: number;
defaultNoteLength: number;
noteHeight: number;
loop: boolean;
noteColor: string;
backgroundColor: string;
incidentalColor: string;
gridColor: string;
labelColor: string;
labelIncidentalColor: string;
labelBackgroundColor: string;
labelBorderColor: string;
borderWidth: number;
shadowColor: string;
shadowMap: ShadowMap[];
onNoteEvent: (event: import("../index.ts").NoteEvent) => void;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;