use super::{text::EscapedText, Node}; use crate::{ attribute_value::{AttributeValue, IntoAttributeValue}, option_string_value::{IntoOptionStringValue, OptionStringValue}, string_value::IntoStringValue, }; use futures::{executor::block_on, stream::StreamExt}; use futures_signals::{ signal::{Signal, SignalExt}, signal_vec::{SignalVec, SignalVecExt}, }; use std::{borrow::Cow, future::Future}; use wasm_bindgen::prelude::*; use web_sys as dom; pub struct Element { tag: &'static str, kind: Option, attributes: Vec, classes: Vec, styles: Vec