euv-docs 0.51.0

Cross-platform documentation viewer and static site generator powered by euv and euv-ui.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

#[cfg(target_arch = "wasm32")]
thread_local! {
    pub(crate) static WEB_DOCS_RUNTIME: RefCell<Option<(App, DocsViewerState)>> =
        const { RefCell::new(None) };
    pub(crate) static WEB_DOCS_SYNCING_FROM_HISTORY: Cell<bool> = const { Cell::new(false) };
    pub(crate) static WEB_DOCS_LISTENERS_ATTACHED: Cell<bool> = const { Cell::new(false) };
    pub(crate) static WEB_DOCS_NEEDS_FRAME: Cell<bool> = const { Cell::new(false) };
    pub(crate) static WEB_DOCS_PENDING_MOVE: Cell<Option<(u32, bool, f32, f32, f32)>> =
        const { Cell::new(None) };
    pub(crate) static WEB_DOCS_PENDING_SCROLL: Cell<Option<(f32, f32, f32, f32)>> =
        const { Cell::new(None) };
    pub(crate) static WEB_DOCS_PENDING_RESIZE: Cell<Option<(u32, u32, f32)>> =
        const { Cell::new(None) };
}