Struct patternfly_yew::PopoverProps[][src]

pub struct PopoverProps {
    pub target: Html,
    pub header: Html,
    pub children: Children,
    pub footer: Html,
    pub toggle_by_onclick: bool,
}

Fields

target: Html

The target, rendered by the component, to which the popover will be aligned to.

header: Html

The header content of the popover.

children: Children

The content which will be show in the popover.

footer: Html

The footer content of the popover.

toggle_by_onclick: bool

Binds the onclick handler of the target to toggle visibility.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.

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.