use super::*;
#[derive(Clone, CustomDebug, Default)]
pub struct EuvScrollAreaProps {
pub label: &'static str,
}
#[cfg(target_arch = "wasm32")]
#[derive(Clone, Getter)]
pub(crate) struct ScrollAreaParts {
#[get(pub(crate))]
pub(crate) viewport: HtmlElement,
#[get(pub(crate))]
pub(crate) bar: HtmlElement,
#[get(pub(crate))]
pub(crate) thumb: HtmlElement,
}
#[cfg(target_arch = "wasm32")]
#[derive(Getter)]
pub(crate) struct ScrollAreaController {
#[get(pub(crate))]
pub(crate) root: NodeRef<Element>,
#[get(pub(crate))]
pub(crate) parts: RefCell<Option<ScrollAreaParts>>,
#[get(pub(crate))]
pub(crate) frame: Cell<Option<i32>>,
#[get(pub(crate))]
pub(crate) callback: RefCell<Option<Closure<dyn FnMut(f64)>>>,
#[get(pub(crate))]
pub(crate) resize: RefCell<Option<(ResizeObserver, ScrollAreaObserverCallback)>>,
#[get(pub(crate))]
pub(crate) mutation: RefCell<Option<(JsValue, ScrollAreaObserverCallback)>>,
#[get(pub(crate))]
pub(crate) listeners: RefCell<Vec<ScrollAreaListener>>,
#[get(pub(crate))]
pub(crate) drag: Cell<Option<(i32, f64)>>,
#[get(pub(crate))]
pub(crate) disposed: Cell<bool>,
}