pub struct EuvInputOtpProps {
pub value: Signal<String>,
pub length: usize,
pub disabled: bool,
pub label: &'static str,
}Expand description
Props for the euv_input_otp component.
The field owns a single input and draws one slot per character. The text stays in the caller’s signal, so the field takes part in the two-way binding of the page it lives in.
Fields§
§value: Signal<String>The text the field is showing.
length: usizeThe number of slots the field draws.
disabled: boolWhether the field is disabled.
label: &'static strThe accessible name of the field.
Trait Implementations§
Source§impl Clone for EuvInputOtpProps
impl Clone for EuvInputOtpProps
Source§impl Debug for EuvInputOtpProps
impl Debug for EuvInputOtpProps
Auto Trait Implementations§
impl Forget for EuvInputOtpProps
impl Freeze for EuvInputOtpProps
impl Move for EuvInputOtpProps
impl RefUnwindSafe for EuvInputOtpProps
impl Send for EuvInputOtpProps
impl Sync for EuvInputOtpProps
impl Unpin for EuvInputOtpProps
impl UnsafeUnpin for EuvInputOtpProps
impl UnwindSafe for EuvInputOtpProps
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