euv-example 0.5.34

An example application demonstrating the euv UI framework with reactive signals, custom components, and WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// The HTML `id` attribute value for the camera video element.
pub(crate) const CAMERA_VIDEO_ID: &str = "camera-video";

/// The CSS selector used to query the camera video element from the DOM.
pub(crate) const CAMERA_VIDEO_SELECTOR: &str = "#camera-video";

/// The `autoplay` attribute value for the camera video element.
pub(crate) const CAMERA_VIDEO_AUTOPLAY: bool = true;

/// The `playsinline` attribute value for the camera video element.
pub(crate) const CAMERA_VIDEO_PLAYSINLINE: bool = true;

/// The icon displayed in the camera placeholder when the camera is closed.
pub(crate) const CAMERA_PLACEHOLDER_ICON: &str = "📷";