1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-20 04:41:26 +02:00

add some jsdoc for element autocomplete

This commit is contained in:
Morris Brodersen
2023-11-23 20:10:10 +01:00
parent 51c43ef35c
commit 89f6a0f390
17 changed files with 81 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
/**
* @param {HTMLElement} el
* @param {{
* initialDelay?: number;
* removeTimeout: number;
* selector: string;
* }} options
*/
export function AppFlip(el, options) {
let enabled = options.initialDelay === 0;
let first;