[−][src]Trait savory_html::seed_ext::ElExt
Required methods
fn try_add_style(self, val: Option<Style>) -> Self
fn set_style(self, val: Style) -> Self
fn try_set_style(self, val: Option<Style>) -> Self
fn and_style(self, conf: impl FnOnce(Style) -> Style) -> Self
fn set_attribute(self, val: Attribute) -> Self
fn try_set_attribute(self, val: Option<Attribute>) -> Self
fn set_attributes(self, val: Attributes) -> Self
fn and_attributes(self, conf: impl FnOnce(Attributes) -> Attributes) -> Self
fn add_children(self, children: impl IntoIterator<Item = Node<Msg>>) -> Self
fn try_add_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn set_children(self, children: impl IntoIterator<Item = Node<Msg>>) -> Self
fn try_set_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn get_class(&self) -> Option<Class>
fn class(self, class: impl Into<Class>) -> Self
fn get_id(&self) -> Option<Id>
fn try_id(self, id: Option<impl Into<Id>>) -> Self
fn id(self, id: impl Into<Id>) -> Self
fn el_ref<E: Clone>(self, reference: &ElRef<E>) -> Self
fn config(self, conf: impl FnOnce(El<Msg>) -> El<Msg>) -> Self
fn config_if(self, _: bool, _: impl FnOnce(El<Msg>) -> El<Msg>) -> Self
fn config_if_else(
self,
_: bool,
_: impl FnOnce(El<Msg>) -> El<Msg>,
_: impl FnOnce(El<Msg>) -> El<Msg>
) -> Self
self,
_: bool,
_: impl FnOnce(El<Msg>) -> El<Msg>,
_: impl FnOnce(El<Msg>) -> El<Msg>
) -> Self
fn for_class(
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
fn for_id(
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
Implementors
impl<Msg> ElExt<Msg> for Node<Msg>
[src]
fn try_add_style(self, val: Option<Style>) -> Self
[src]
fn set_style(self, val: Style) -> Self
[src]
fn try_set_style(self, val: Option<Style>) -> Self
[src]
fn and_style(self, conf: impl FnOnce(Style) -> Style) -> Self
[src]
fn set_attribute(self, val: Attribute) -> Self
[src]
fn try_set_attribute(self, val: Option<Attribute>) -> Self
[src]
fn set_attributes(self, val: Attributes) -> Self
[src]
fn and_attributes(self, conf: impl FnOnce(Attributes) -> Attributes) -> Self
[src]
fn add_children(self, children: impl IntoIterator<Item = Node<Msg>>) -> Self
[src]
fn try_add_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
[src]
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn set_children(self, val: impl IntoIterator<Item = Node<Msg>>) -> Self
[src]
fn try_set_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
[src]
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn el_ref<E: Clone>(self, reference: &ElRef<E>) -> Self
[src]
fn get_class(&self) -> Option<Class>
[src]
fn class(self, class: impl Into<Class>) -> Self
[src]
fn get_id(&self) -> Option<Id>
[src]
fn try_id(self, id: Option<impl Into<Id>>) -> Self
[src]
fn id(self, id: impl Into<Id>) -> Self
[src]
fn config(self, conf: impl FnOnce(El<Msg>) -> El<Msg>) -> Self
[src]
fn config_if(self, cond: bool, conf: impl FnOnce(El<Msg>) -> El<Msg>) -> Self
[src]
fn config_if_else(
self,
condition: bool,
true_conf: impl FnOnce(El<Msg>) -> El<Msg>,
false_conf: impl FnOnce(El<Msg>) -> El<Msg>
) -> Self
[src]
self,
condition: bool,
true_conf: impl FnOnce(El<Msg>) -> El<Msg>,
false_conf: impl FnOnce(El<Msg>) -> El<Msg>
) -> Self
fn for_class(
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
[src]
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
fn for_id(
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
[src]
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
impl<Msg> ElExt<Msg> for El<Msg>
[src]
fn try_add_style(self, val: Option<Style>) -> Self
[src]
fn set_style(self, val: Style) -> Self
[src]
fn try_set_style(self, val: Option<Style>) -> Self
[src]
fn and_style(self, conf: impl FnOnce(Style) -> Style) -> Self
[src]
fn set_attribute(self, val: Attribute) -> Self
[src]
fn try_set_attribute(self, val: Option<Attribute>) -> Self
[src]
fn set_attributes(self, val: Attributes) -> Self
[src]
fn and_attributes(self, conf: impl FnOnce(Attributes) -> Attributes) -> Self
[src]
fn add_children(self, children: impl IntoIterator<Item = Node<Msg>>) -> Self
[src]
fn try_add_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
[src]
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn set_children(self, children: impl IntoIterator<Item = Node<Msg>>) -> Self
[src]
fn try_set_children(
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
[src]
self,
children: Option<impl IntoIterator<Item = Node<Msg>>>
) -> Self
fn get_class(&self) -> Option<Class>
[src]
fn class(self, class: impl Into<Class>) -> Self
[src]
fn get_id(&self) -> Option<Id>
[src]
fn try_id(self, id: Option<impl Into<Id>>) -> Self
[src]
fn id(self, id: impl Into<Id>) -> Self
[src]
fn el_ref<E: Clone>(self, reference: &ElRef<E>) -> Self
[src]
fn config(self, conf: impl FnOnce(Self) -> Self) -> Self
[src]
fn config_if(self, condition: bool, conf: impl FnOnce(Self) -> Self) -> Self
[src]
fn config_if_else(
self,
condition: bool,
true_conf: impl FnOnce(Self) -> Self,
false_conf: impl FnOnce(Self) -> Self
) -> Self
[src]
self,
condition: bool,
true_conf: impl FnOnce(Self) -> Self,
false_conf: impl FnOnce(Self) -> Self
) -> Self
fn for_class(
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
[src]
self,
class: impl Into<Class>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
fn for_id(
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self
[src]
self,
id: impl Into<Id>,
f: impl Fn(Node<Msg>) -> Node<Msg> + Copy
) -> Self