[−][src]Struct ybc::FileProps
Fields
name: String
The name
attribute for this form element.
files: Vec<SysFile>
The controlled form value for the currently selected files.
update: Callback<Vec<SysFile>>
The callback to be used for propagating changes to this form element.
selector_label: String
The display text for the file selector.
selector_icon: Html
The HTML contents to use for the file selector icon.
classes: Option<String>
has_name: Option<String>
An option to control if file names will be displayed; if a value is provided, then the
has-name
class will be added to this form element and the given value will be used as a
placeholder until files are selected.
right: bool
Move the CTA element to the right side of the component.
fullwidth: bool
Expand the file display name to the full width of the parent.
boxed: bool
Display as a boxed block.
multiple: bool
Allow multiple files to be selected.
size: Option<Size>
The size of this component.
alignment: Option<Alignment>
The alignment of this component within its parent.
Trait Implementations
impl Clone for FileProps
[src]
impl Debug for FileProps
[src]
impl PartialEq<FileProps> for FileProps
[src]
impl Properties for FileProps
[src]
type Builder = FilePropsBuilder<FilePropsBuilderStep_missing_required_prop_files>
Builder that will be used to construct properties
fn builder() -> Self::Builder
[src]
impl StructuralPartialEq for FileProps
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FileProps
impl !Send for FileProps
impl !Sync for FileProps
impl Unpin for FileProps
impl !UnwindSafe for FileProps
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> NeqAssign<U> for T where
T: BorrowMut<U>,
U: PartialEq<U>,
[src]
T: BorrowMut<U>,
U: PartialEq<U>,
fn neq_assign(&mut self, new: U) -> bool
[src]
impl<T, U> NeqAssignBy<U> for T where
T: BorrowMut<U>,
[src]
T: BorrowMut<U>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,