UNPKG
@jesperdj/pianokeys
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Piano keyboard rendered as SVG.
github.com/jesperdj/pianokeys
jesperdj/pianokeys
@jesperdj/pianokeys
/
index.d.ts
10 lines
(9 loc)
•
268 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
declare
class
Keyboard
{
constructor
(
container
:
HTMLElement
,
options
?: {}
);
fillKey
(
noteName
:
string
,
fill
?:
string
):
void
;
clearKey
(
noteName
:
string
):
void
; }
declare
const
PianoKeys
: {
Keyboard
:
typeof
Keyboard
; };
export
default
PianoKeys
;