euv 0.1.1

A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and RSX macros for WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
use crate::*;

/// Trait for types that can be converted into an event attribute value.
///
/// Allows event handlers and optional handlers to be used as attribute values.
pub trait IntoEventAttribute {
    /// Converts this value into an `AttributeValue`, or an empty text if None.
    fn into_event_attribute(self) -> AttributeValue;
}