Struct yew_styles::tooltip::Props[][src]

pub struct Props {
    pub tooltip_palette: Palette,
    pub tooltip_style: Style,
    pub tooltip_size: Size,
    pub key: String,
    pub code_ref: NodeRef,
    pub class_name: String,
    pub id: String,
    pub tooltip_position: Position,
    pub content: Html,
    pub children: Children,
}

Fields

tooltip_palette: Palette

Tooltip palette. Default Palette::Standard

tooltip_style: Style

Tooltip style. Default Style::Regular

tooltip_size: Size

Tooltip size. Default Size::Medium

key: String

General property to add keys

code_ref: NodeRef

General property to get the ref of the component

class_name: String

General property to add custom class styles

id: String

General property to add custom id

tooltip_position: Position

Tooltip position over targeted element. Left, Right, Above, Below

content: Html

Show the content of tooltip

children: Children

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Builder that will be used to construct properties

Entrypoint for building properties

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert self to an optional value of a Properties struct.

Convert self to a value of a Properties struct.

Convert self to a value of a Properties struct.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.