Skip to main content

euv_ui/component/affix/view/
struct.rs

1use super::*;
2
3/// Props for the [`euv_affix`] component.
4///
5/// Defines the strongly-typed interface for a sticky block: how far from the
6/// top of its scroll container the block sticks.
7#[derive(Clone, CustomDebug, Default)]
8pub struct EuvAffixProps {
9    /// How far from the top of the scroll container the block sticks, in pixels.
10    pub offset: u32,
11}