feat: add background video preset (#607)

This commit is contained in:
Wesley Luyten
2026-02-26 16:00:36 -06:00
committed by GitHub
parent 0a641e90e2
commit c2bc488366
22 changed files with 241 additions and 44 deletions
+7
View File
@@ -0,0 +1,7 @@
export function namedNodeMapToObject(namedNodeMap: NamedNodeMap) {
const obj: Record<string, string> = {};
for (const attr of namedNodeMap) {
obj[attr.name] = attr.value;
}
return obj;
}
+1
View File
@@ -1,4 +1,5 @@
export { animationFrame } from './animation-frame';
export { namedNodeMapToObject } from './attributes';
export { isRTL } from './direction';
export { type OnEventOptions, onEvent } from './event';
export { idleCallback } from './idle-callback';