MCPcopy Create free account
hub / github.com/angular-rust/yew-components / OnIconButtonToggle

Class OnIconButtonToggle

src/icon_button_toggle/on_icon.rs:19–21  ·  view source on GitHub ↗

Defines header for [`IconButtonToggle`][crate::IconButtonToggle]. If the child passed is an element (a `VTag`), then it is modified to include the appropriate attributes. Otherwise, the child is wrapped in a `span` containing said attributes.

Source from the content-addressed store, hash-verified

17/// the appropriate attributes. Otherwise, the child is wrapped in a `span`
18/// containing said attributes.
19pub struct OnIconButtonToggle {
20 props: OnIconButtonToggleProps,
21}
22
23impl Component for OnIconButtonToggle {
24 type Message = ();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected