update heatmap.js

This commit is contained in:
Harvey Zack committed 2023-05-05 22:56:00 +08:00
1 parent 7cd91b8375
commit e095e45791
6 files changed
+49 -29

No files matched your search

@@ -63,6 +63,7 @@ export default class Danmuku {
mount: undefined,
theme: 'dark',
heatmap: false,
points: [],
beforeEmit: () => true,
};
}
@@ -87,6 +88,7 @@ export default class Danmuku {
mount: 'undefined|htmldivelement',
theme: 'string',
heatmap: 'object|boolean',
points: 'array',
beforeEmit: 'function',
};
}