Struct dominator::HtmlBuilder
[−]
[src]
pub struct HtmlBuilder<A> { /* fields omitted */ }
Methods
impl<A> HtmlBuilder<A>
[src]
impl<A: IElement> HtmlBuilder<A> where
<A as TryFrom<Value>>::Error: Debug,
[src]
<A as TryFrom<Value>>::Error: Debug,
impl<A: AsRef<Reference> + Clone + 'static> HtmlBuilder<A>
[src]
impl<A: IEventTarget> HtmlBuilder<A>
[src]
pub fn event<T, F>(self, listener: F) -> Self where
T: ConcreteEvent,
F: FnMut(T) + 'static,
[src]
T: ConcreteEvent,
F: FnMut(T) + 'static,
impl<A: INode + Clone + 'static> HtmlBuilder<A>
[src]
impl<A: IElement + Clone + 'static> HtmlBuilder<A>
[src]
pub fn attribute<B: Attribute>(self, name: &str, value: B) -> Self
[src]
pub fn attribute_namespace<B: Attribute>(
self,
name: &str,
value: B,
namespace: &str
) -> Self
[src]
self,
name: &str,
value: B,
namespace: &str
) -> Self
pub fn class<B: Class>(self, name: &str, value: B) -> Self
[src]
impl<A: IHtmlElement + Clone + 'static> HtmlBuilder<A>
[src]
pub fn style<B: Style>(self, name: &str, value: B) -> Self
[src]
pub fn style_important<B: Style>(self, name: &str, value: B) -> Self
[src]
pub fn focused<B: Focused>(self, value: B) -> Self
[src]
Trait Implementations
impl<A: Into<Node>> From<HtmlBuilder<A>> for Dom
[src]
fn from(dom: HtmlBuilder<A>) -> Self
[src]
Performs the conversion.