Skip to main content

SpIconZoomIn

Function SpIconZoomIn 

Source
pub fn SpIconZoomIn() -> Element
Expand description

Zoom-in glyph, used as SpActionButton icon content.

Maps to <sp-icon-zoom-in>, assigned to the button’s icon slot so ActionButton centers and sizes it like any other action-button icon instead of treating it as label text. Rendered via dangerous_inner_html on a wrapping span rather than the usual sp-icon-zoom-in {} RSX element syntax: dioxus-rsx 0.7.9 reconstructs hyphenated custom-element tag names by joining each --separated segment’s Ident::to_string(), and a segment matching a Rust keyword (in) parses as a raw identifier whose to_string() includes the r# prefix, corrupting the tag to sp-icon-zoom-r#in.