Expand description
Semantic UI construction and control flow. Builders mount through the runtime; layout engines and DOM objects are never created by configuring a widget.
Re-exports§
pub use each::Each;pub use each::EachBuilder;pub use each::each;pub use list::List;pub use list::list;
Modules§
- each
- One keyed Each API and controller for all sources and Widget hosts.
- events
- list
- Windowed list primitives. Scrolling only accesses the visible window and
overscan, never an iterator over the whole data set. This is distinct from
keyed
each, which deliberately mounts its complete sequence.
Structs§
- App
- Buffer
Stats - Queue and idle-spare capacities, sampled between host turns. Counts slots/bytes, excludes in-flight batches, and does not measure RSS.
- Button
- Check
- Children
- Deferred
- Defer widget construction until its owning scope is entered.
- File
- Form
Control - Submission metadata is separate from the accessible name. Text input values come from InputProps; Check/Button may supply an explicit successful value.
- Fragment
- A movable widget fragment without a semantic wrapper node.
- Graphic
- Group
- Image
- Input
- Input
Assist - Omitted members preserve the intrinsic Purpose hint. No actual OS keyboard or autofill service is implied; native hosts may retain these as hints.
- Input
Edit Capture - Item
Position - Position in the logical collection, not in the mounted render window.
- Layer
- Link
- Mounted
- Plan
- Plan
Instance - Non-owning access to the live nodes of one declared construction. Cloning a plan never clones an instance’s nodes, event captures or reactive state.
- Plan
Part - Range
Value - A finite, inclusive numeric position in a nonempty range.
- Rich
Editor - Scope
- A UI context carries semantic parent identity, never a DOM/GPU object. Core ownership remains separate; all presentation helpers work on any Render.
- Scroll
Command - Scroll
Metrics - Logical pixels at one accepted query watermark. Native/browser offsets can be negative (RTL/elastic scrolling); dimensions are finite and nonnegative. Content dimensions are independent and need not exceed viewport dimensions.
- Select
- Semantic
Id - Semantics
- Optional and finite: ordinary nodes allocate none of this metadata. Named relations may refer forward or to an unmounted target; adapters resolve only live names in their document. Removing a target retains no owning reference.
- Settle
- Result of a bounded local observation turn, not display completion or an assertion that asynchronous tasks/resources/animations have finished.
- Slider
Value - One actual slider’s accepted configuration, separate from passive progress and separator resizing. Hosts propose changes; they do not own the value.
- Spin
Value - Text
- Text
Selection - UiStats
- View
- Weak
Scope - When
- Widget
Fn - An owner-scoped widget built by a handwritten Rust closure.
Enums§
- Current
- The current location in a related set, independent of selection or visits.
- Dismiss
Reason - Error
- Event
- Event
Kind - Field
Part - Structural form content, fixed for a node’s lifetime on HTML adapters.
- Focus
Mode - Host-native default, programmatic focus only, or a normal tab stop.
- Form
Action - The host captures requests; application policy owns validation and transport.
- Grid
Command - Input
Autofill - Input
Edit - Input
Edit Intent - Input
Edit Rejection - Input
Mode - Layer
Placement - Link
Open - Native links may use their current context or request a separate one. Opening a system browser remains an outer native host service.
- Navigation
- Logical collection navigation, independent of a host’s key codes.
- Navigation
Panel - Navigation
Panel Command - Orientation
- Purpose
- Range
Command - Finite range proposals. Application state remains application-owned.
- Role
- Structural roles belong to View. Other widgets keep their intrinsic control/text/image semantics rather than impersonating unrelated widgets.
- Scroll
Axes - Scroll
Movement - Selection
Direction - Text
Kind
Traits§
- Into
Children - Widget
- A widget is built once; dynamic props/control flow install owned bindings.
Functions§
- button
- check
- col
- defer
- file
- fragment
- graphic
- group
- image
- input
- link
- plan
- Compile declarations once, outside a row/data loop. Control flow, bindings, event captures and node_ref handles belong to instances, never this plan.
- rich_
editor - row
- select
- text
- view
- when
- widget
- Build once in the mounted scope; install bindings for reactive updates.