From 6eeeebec6a2e092ac6b75aacb86cd776e18df64b Mon Sep 17 00:00:00 2001 From: weaseldotro <1822852+weaseldotro@users.noreply.github.com> Date: Mon, 5 Oct 2020 11:15:14 +0300 Subject: [PATCH] add ref to ListBoxMenu --- src/ListBox/ListBoxMenu.svelte | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ListBox/ListBoxMenu.svelte b/src/ListBox/ListBoxMenu.svelte index c84b0956..853a5d7d 100644 --- a/src/ListBox/ListBoxMenu.svelte +++ b/src/ListBox/ListBoxMenu.svelte @@ -4,9 +4,16 @@ * @type {string} [id] */ export let id = "ccs-" + Math.random().toString(36); + + /** + * Obtain a reference to the input HTML element + * @type {null | HTMLInputElement} [ref=null] + */ + export let ref = null;