Structs§
- Dropdown
Layer - Lightweight handle describing an overlay entry reserved for a dropdown.
- Floating
Layer - Generic overlay handle for floating layers (tooltip, popover, dropdown, …).
- Option
Node - Tree-shaped option node shared by
TreeSelectandCascader. - Select
Option - Flat option used by
SelectandAutoComplete.
Functions§
- filter_
options_ by_ query - Filter options by label using a case-insensitive
containsmatch. - handle_
option_ list_ key_ event - Handle a key event for an option list and update the active index.
- next_
active_ index - Internal helper: compute the next active index in a linear option list.
- option_
key_ to_ value - Convert a single key into a JSON value suitable for storing in Form.
- option_
keys_ to_ value - Convert a slice of keys into a JSON array value.
- path_
to_ value - Convert a path of keys into a JSON array value.
- toggle_
option_ key - Toggle a single key within a set of keys.
- use_
dropdown_ layer - Hook: 专门为选择器系列组件保留的下拉浮层注册函数。
- use_
floating_ layer - Internal helper: register/unregister a floating entry with the global
OverlayManagerfor a givenOverlayKind. - value_
to_ option_ key - Convert a
serde_json::Valuecoming from Form into an optionalOptionKey. - value_
to_ option_ keys - Convert a JSON value into a vector of option keys.
- value_
to_ path - Convert a JSON value into a path of keys (used by Cascader).
Type Aliases§
- Cascader
Node - Alias for clarity when used by
Cascader. - Option
Key - Shared key type used by selector-like components.
- Tree
Node - Alias for clarity when used by
TreeSelect.