Struct thaw::SliderProps
source · pub struct SliderProps {
pub value: RwSignal<f64>,
pub max: MaybeSignal<f64>,
pub step: MaybeSignal<f64>,
pub class: MaybeSignal<String>,
pub children: Option<Children>,
}Expand description
Props for the Slider component.
§Optional Props
- value:
impl Into<RwSignal<f64>> - max:
impl Into<MaybeSignal<f64>> - step:
impl Into<MaybeSignal<f64>> - class:
impl Into<MaybeSignal<String>> - children:
Children
Fields§
§value: RwSignal<f64>§max: MaybeSignal<f64>§step: MaybeSignal<f64>§class: MaybeSignal<String>§children: Option<Children>Implementations§
source§impl SliderProps
impl SliderProps
sourcepub fn builder() -> SliderPropsBuilder<((), (), (), (), ())>
pub fn builder() -> SliderPropsBuilder<((), (), (), (), ())>
Create a builder for building SliderProps.
On the builder, call .value(...)(optional), .max(...)(optional), .step(...)(optional), .class(...)(optional), .children(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of SliderProps.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SliderProps
impl !Send for SliderProps
impl !Sync for SliderProps
impl Unpin for SliderProps
impl !UnwindSafe for SliderProps
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more