[−][src]Struct yew_styles::card::Props
Fields
ondrag_signal: Callback<DragEvent>
A dragged item (element or text selection) is dragged
ondragend_signal: Callback<DragEvent>
A drag operation ends
ondragenter_signal: Callback<DragEvent>
A dragged item enters a valid drop target.
ondragexit_signal: Callback<DragEvent>
An element is no longer the drag operation's immediate selection target
ondragleave_signal: Callback<DragEvent>
A dragged item leaves a valid drop target
ondragover_signal: Callback<DragEvent>
A dragged item is being dragged over a valid drop target Every few hundred milliseconds
ondragstart_signal: Callback<DragEvent>
The user starts dragging an item
ondrop_signal: Callback<DragEvent>
An item is dropped on a valid drop target
onclick_signal: Callback<MouseEvent>
Click event for card
draggable: bool
If the item is draggable
header: Option<Html>
Header content of the card
header_size: i8
The size of the header card based in Flexbox
body: Option<Html>
Body content of the card
body_size: i8
The size of the body card based in Flexbox
Footer content of the card
The size of the footer card based in Flexbox
single_content: Option<Html>
Without split in parts, only a single content
card_palette: Palette
Type card purpose style
card_style: Style
Card styles
card_size: Size
three diffent card standard sizes
interaction_effect: bool
if hove, focus, active effects are enable
code_ref: NodeRef
General property to get the ref of the component
key: String
General property to add keys
class_name: String
General property to add custom class styles
id: String
General property to add custom id
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
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> 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,