From 996cb26a6c7065262fda284c8f38763be6ea5289 Mon Sep 17 00:00:00 2001 From: Andrew Kirwin Date: Tue, 10 Dec 2024 09:52:43 +0000 Subject: [PATCH] update changelog --- README.md | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index e98533dc..63af7aa6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ https://zestia.github.io/ember-select-box - Full control at all times with the API ✔︎ - No configuration options ✔︎ - Very few issues over many years of Ember! ✔︎ +- Dropdown primitive ✔︎ - Customisable filtering built in ✔︎ ## Notes @@ -217,7 +218,31 @@ Whether or not the option is currently disabled Whether or not the option is currently selected -## Dropdown +## `Options` + +A listbox container element to house each option + +## `Group` + +### Arguments + +#### `@label` + +Required. The group label (similar to the native `optgroup`) + +## `Input` + +A combobox, which by default filters down the available `@options`. Customise this behaviour by providing `@onSearch`. + +## `Trigger` + +A combobox, which toggles the select box's dropdown open/closed. + +## `Content` + +An element to house the content that displays when the dropdown is opened + +## `Dropdown` ### Arguments @@ -255,26 +280,6 @@ Closes the select box's dropdown The element of the select box's dropdown -## `Options` - -A listbox container element to house each option - -## `Group` - -### Arguments - -#### `@label` - -Required. The group label (similar to the native `optgroup`) - -## `Input` - -A combobox, which by default filters down the available `@options`. Customise this behaviour by providing `@onSearch`. - -## `Trigger` - -A combobox, which toggles the select box open/closed. - # Filtering Since filtering options down (and accounting for diacritics) is a common requirement, this addon comes with a utility to help.