Struct patternfly_yew::PopoverProps
source · [−]pub struct PopoverProps {
pub target: Html,
pub header: Option<Html>,
pub children: Children,
pub footer: Option<Html>,
pub toggle_by_onclick: bool,
}Fields
target: HtmlThe target, rendered by the component, to which the popover will be aligned to.
header: Option<Html>The header content of the popover.
children: ChildrenThe content which will be show in the popover.
The footer content of the popover.
toggle_by_onclick: boolBinds the onclick handler of the target to toggle visibility.
Trait Implementations
sourceimpl Clone for PopoverProps
impl Clone for PopoverProps
sourcefn clone(&self) -> PopoverProps
fn clone(&self) -> PopoverProps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PopoverProps
impl Debug for PopoverProps
sourceimpl PartialEq<PopoverProps> for PopoverProps
impl PartialEq<PopoverProps> for PopoverProps
sourcefn eq(&self, other: &PopoverProps) -> bool
fn eq(&self, other: &PopoverProps) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Properties for PopoverProps
impl Properties for PopoverProps
impl StructuralPartialEq for PopoverProps
Auto Trait Implementations
impl !RefUnwindSafe for PopoverProps
impl !Send for PopoverProps
impl !Sync for PopoverProps
impl Unpin for PopoverProps
impl !UnwindSafe for PopoverProps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.