1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
use super::*; /// Zero-cost IDE Go-to-Definition schema anchors for `TextElement`. impl TextElement { /// Schema anchor for built-in `view!` element `text` — Static or reactive UTF-8 text node. pub const fn element() {} /// Applies a `Style` expression or inline `style: { ... }` block to this element. pub const fn style() {} /// Binds a reactive `move || -> Style` closure that updates this node's style. pub const fn bind_style() {} /// Captures the created `NodeId` into a mutable local binding or `NodeRefTarget`. pub const fn node_ref() {} /// Controls whether this node can receive keyboard focus (`bool`). pub const fn focusable() {} /// Registers a click handler (`FnMut(&UiEvent) + 'static`). pub const fn on_click() {} /// Registers a value change handler (`FnMut(&UiEvent) + 'static`). pub const fn on_change() {} /// Registers a scroll handler (`FnMut(&UiEvent) + 'static`). pub const fn on_scroll() {} /// Registers a pointer-down handler (`FnMut(&UiEvent) + 'static`). pub const fn on_pointer_down() {} /// Registers a pointer-move handler (`FnMut(&UiEvent) + 'static`). pub const fn on_pointer_move() {} /// Registers a pointer-up handler (`FnMut(&UiEvent) + 'static`). pub const fn on_pointer_up() {} /// Registers a pointer-enter handler (`FnMut(&UiEvent) + 'static`). pub const fn on_pointer_enter() {} /// Registers a pointer-leave handler (`FnMut(&UiEvent) + 'static`). pub const fn on_pointer_leave() {} /// Registers a pointer hover enter/leave handler (`FnMut(&UiEvent) + 'static`). pub const fn on_hover() {} /// Registers a keyboard key-down handler (`FnMut(&UiEvent) + 'static`). pub const fn on_key() {} /// Registers a focus-gained handler (`FnMut(&UiEvent) + 'static`). pub const fn on_focus() {} /// Registers a focus-lost handler (`FnMut(&UiEvent) + 'static`). pub const fn on_blur() {} /// Sets complete `A11yProps` metadata (mutually exclusive with individual a11y fields). pub const fn a11y() {} /// Sets semantic accessibility role (`A11yRole`). pub const fn role() {} /// Sets accessible screen-reader label string. pub const fn a11y_label() {} /// Sets accessible screen-reader usage hint string. pub const fn a11y_hint() {} /// Sets accessible current value string. pub const fn a11y_value() {} /// Marks node disabled in accessibility tree (`bool`). pub const fn a11y_disabled() {} /// Sets accessible checked state (`Option<bool>`). pub const fn a11y_checked() {} }