ToggleSwitchProps
trait · ferroui-view · v0.5.0
trait ToggleSwitchProps: ElementBuilder
The properties and routed events of ToggleSwitch.
Members
off_content
fn off_content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets ToggleSwitch::off_content_property.
off_content_template
fn off_content_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
Sets ToggleSwitch::off_content_template_property.
on_content
fn on_content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets ToggleSwitch::on_content_property.
on_content_template
fn on_content_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
Sets ToggleSwitch::on_content_template_property.
knob_transitions
fn knob_transitions<M>(self: Self, value: impl IntoProp<Option<ferroui_base::animation::Transitions>, M>) -> Self
Sets ToggleSwitch::knob_transitions_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.