euv_ui/component/tooltip/view/enum.rs
1use super::*;
2
3/// The side of the trigger the [`euv_tooltip`] bubble is rendered on.
4#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5pub enum EuvTooltipPlacement {
6 /// Above the trigger, horizontally centred.
7 #[default]
8 Top,
9 /// Below the trigger, horizontally centred.
10 Bottom,
11 /// Left of the trigger, vertically centred.
12 Left,
13 /// Right of the trigger, vertically centred.
14 Right,
15}