pub struct EuvTagInput { /* private fields */ }Expand description
Interactive multi-tag chip input supporting live tag addition and removal bound to Signal<Vec<String>>.
Implementations§
Source§impl EuvTagInput
Fluent placeholder builder for EuvTagInput.
impl EuvTagInput
Fluent placeholder builder for EuvTagInput.
Source§impl EuvTagInput
impl EuvTagInput
pub fn get_placeholder(&self) -> &String
pub fn get_mut_placeholder(&mut self) -> &mut String
pub fn set_placeholder(&mut self, val: String) -> &mut Self
pub fn get_tokens(&self) -> ThemeTokens
pub fn get_mut_tokens(&mut self) -> &mut ThemeTokens
pub fn set_tokens(&mut self, val: ThemeTokens) -> &mut Self
Source§impl EuvTagInput
impl EuvTagInput
Source§impl EuvTagInput
Implements impl #impl_generics #struct_ident #ty_generics #where_clause.
impl EuvTagInput
Implements impl #impl_generics #struct_ident #ty_generics #where_clause.
pub fn tokens(self, value: ThemeTokens) -> Self
Trait Implementations§
Source§impl Clone for EuvTagInput
impl Clone for EuvTagInput
Source§impl Component for EuvTagInput
Implements impl #impl_generics ::euv::Component for #self_type #where_clause.
impl Component for EuvTagInput
Implements impl #impl_generics ::euv::Component for #self_type #where_clause.
Source§fn render(&self) -> NodeId
fn render(&self) -> NodeId
Renders EuvTagInput into the ambient framework-managed Context.
Tag chips render as full pills (RADIUS_PILL) with contrast-safe SurfaceRole::Secondary colors driven
reactively by live ambient theme tokens so adding or removing tags after a theme switch never emits stale
colors.
§Arguments
&Self- Component descriptor reference.
§Returns
NodeId- Mounted root scene node handle.
Source§const NEEDS_LIFECYCLE: bool = false
const NEEDS_LIFECYCLE: bool = false
Rc<Self> observer registration on mount.Source§impl ComponentProps for EuvTagInput
Implements impl #impl_generics ::euv::ComponentProps for #struct_ident #ty_generics #where_clause.
impl ComponentProps for EuvTagInput
Implements impl #impl_generics ::euv::ComponentProps for #struct_ident #ty_generics #where_clause.
Source§fn init_props() -> Self
fn init_props() -> Self
Implements the init_props operation on Self.
Source§impl Lifecycle for EuvTagInput
Implements impl #impl_generics ::euv::Lifecycle for #self_type #where_clause.
impl Lifecycle for EuvTagInput
Implements impl #impl_generics ::euv::Lifecycle for #self_type #where_clause.
Source§fn retention_policy(&self) -> PageRetention
fn retention_policy(&self) -> PageRetention
Source§fn on_create(&self)
fn on_create(&self)
render pass executes. Read moreSource§fn on_update(&self, _node: NodeId)
fn on_update(&self, _node: NodeId)
Source§fn on_activate(&self, _node: NodeId)
fn on_activate(&self, _node: NodeId)
Source§fn on_freeze(&self, _node: NodeId)
fn on_freeze(&self, _node: NodeId)
PageRetention::Freeze. Read moreSource§fn on_resume(&self, _node: NodeId)
fn on_resume(&self, _node: NodeId)
Source§fn on_unmount(&self, _node: NodeId)
fn on_unmount(&self, _node: NodeId)
Source§fn on_destroy(&self)
fn on_destroy(&self)
Source§fn on_error(&self, _error: &str)
fn on_error(&self, _error: &str)
Source§fn on_appear(&self)
fn on_appear(&self)
Source§fn on_disappear(&self)
fn on_disappear(&self)
Source§fn on_foreground(&self)
fn on_foreground(&self)
Source§fn on_background(&self)
fn on_background(&self)
Source§fn on_inactive(&self)
fn on_inactive(&self)
Source§fn on_terminate(&self)
fn on_terminate(&self)
Source§fn on_system_event(&self, _event: &SystemEvent)
fn on_system_event(&self, _event: &SystemEvent)
SystemEvent delivered while this component is active. Read more