euv-ui 0.28.7

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
/// Viewport width threshold below which the application switches to the mobile layout.
pub(crate) const MOBILE_BREAKPOINT: i32 = 768;

/// The hash prefix used for hash-based routing.
pub(crate) const ROUTE_HASH_PREFIX: &str = "#";

/// The default route path when no hash is present.
pub(crate) const DEFAULT_ROUTE_PATH: &str = "/";

/// The target name for opening URLs in a new browser tab.
pub(crate) const BLANK_BROWSER_TARGET: &str = "_blank";

/// The DOM event type bound to an internal route link.
pub const ROUTER_LINK_EVENT_TYPE: &str = "click";