euv-ui 0.28.3

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

/// The side of the trigger the [`euv_tooltip`] bubble is rendered on.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum EuvTooltipPlacement {
    /// Above the trigger, horizontally centred.
    #[default]
    Top,
    /// Below the trigger, horizontally centred.
    Bottom,
    /// Left of the trigger, vertically centred.
    Left,
    /// Right of the trigger, vertically centred.
    Right,
}