[−][src]Struct yew_styles::text::Props
Fields
text: String
Text to show
text_type: TextType
How is showing the text
interaction_effect: bool
if hove, focus, active effects are enable. Only for tag type
ondrag_signal: Callback<DragEvent>
A dragged item (element or text selection) is dragged. Only for tag type
ondragend_signal: Callback<DragEvent>
A drag operation ends. Only for tag type
ondragenter_signal: Callback<DragEvent>
A dragged item enters a valid drop target. Only for tag type
ondragexit_signal: Callback<DragEvent>
An element is no longer the drag operation's immediate selection target. Only for tag type
ondragleave_signal: Callback<DragEvent>
A dragged item leaves a valid drop target. Only for tag type
ondragover_signal: Callback<DragEvent>
A dragged item is being dragged over a valid drop target Every few hundred milliseconds. Only for tag type
ondragstart_signal: Callback<DragEvent>
The user starts dragging an item. Only for tag type
ondrop_signal: Callback<DragEvent>
An item is dropped on a valid drop target. Only for tag type
onclick_signal: Callback<MouseEvent>
Click event only for text tag type
ondelete_signal: Callback<MouseEvent>
Click event only for text tag type with removable in true
draggable: bool
If the item is draggable. Only for tag type
removable: bool
If the tag can be deleted
text_palette: Palette
Type text purpose style. Only for tag and alert type
text_style: Style
Text styles. Only for tag and alert type
text_size: Size
Three diffent text standard sizes. Not for title type
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>,