pub struct Set<Dom: Dom = DefaultDom, Mutability = Mut>(/* private fields */);
Expand description
The SVG set
element
Implementations§
source§impl<Dom: Dom> Set<Dom>
impl<Dom: Dom> Set<Dom>
sourcepub fn to<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
pub fn to<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG to
attribute
This attribute defines the value to be applied to the target
attribute for the duration of the animation. The value must
match the requirements of the target attribute. Value type:
<anything>
; Default value: none; Animatable: no
source§impl<InitParam, Dom> Set<Template<InitParam, Dom>>where
Dom: InstantiableDom,
InitParam: 'static,
impl<InitParam, Dom> Set<Template<InitParam, Dom>>where
Dom: InstantiableDom,
InitParam: 'static,
pub fn on_instantiate( self, f: impl 'static + Fn(Set<Dom>, &InitParam) -> Set<Dom> ) -> Self
source§impl<InitParam, Dom> Set<Template<InitParam, Dom>, Const>where
Dom: InstantiableDom,
InitParam: 'static,
impl<InitParam, Dom> Set<Template<InitParam, Dom>, Const>where
Dom: InstantiableDom,
InitParam: 'static,
pub fn instantiate(&self, param: &InitParam) -> Set<Dom>
Trait Implementations§
source§impl<D: Dom> AnimationTiming for Set<D>
impl<D: Dom> AnimationTiming for Set<D>
source§fn begin<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn begin<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn dur<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn dur<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn end<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn end<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn min<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn min<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn max<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn max<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn restart<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn restart<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn repeat_count<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn repeat_count<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG
repeatCount
attribute Read moresource§fn repeat_dur<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn repeat_dur<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn fill<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn fill<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§impl<Dom: Dom> AriaElement for Set<Dom>
impl<Dom: Dom> AriaElement for Set<Dom>
source§fn role<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn role<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA role
attribute
source§fn aria_activedescendant<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_activedescendant<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-activedescendant Attribute Read more
source§fn aria_atomic<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_atomic<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-atomic Attribute Read more
source§fn aria_autocomplete<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_autocomplete<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-autocomplete Attribute Read more
source§fn aria_braillelabel<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_braillelabel<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-braillelabel Attribute Read more
source§fn aria_brailleroledescription<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_brailleroledescription<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-brailleroledescription Attribute Read more
source§fn aria_busy<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_busy<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn aria_checked<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_checked<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-checked Attribute Read more
source§fn aria_colcount<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<i64>,
fn aria_colcount<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<i64>,
The ARIA aria-colcount Attribute Read more
source§fn aria_colindex<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
fn aria_colindex<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-colindex Attribute Read more
source§fn aria_colindextext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_colindextext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-colindextext Attribute Read more
source§fn aria_colspan<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
fn aria_colspan<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-colspan Attribute Read more
source§fn aria_controls<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_controls<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-controls Attribute Read more
source§fn aria_current<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_current<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-current Attribute Read more
source§fn aria_describedby<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_describedby<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-describedby Attribute Read more
source§fn aria_description<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_description<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-description Attribute Read more
source§fn aria_details<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_details<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-details Attribute Read more
source§fn aria_disabled<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_disabled<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-disabled Attribute Read more
source§fn aria_errormessage<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_errormessage<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-errormessage Attribute Read more
source§fn aria_expanded<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_expanded<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-expanded Attribute Read more
source§fn aria_flowto<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_flowto<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-flowto Attribute Read more
source§fn aria_haspopup<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_haspopup<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-haspopup Attribute Read more
The ARIA aria-hidden Attribute Read more
source§fn aria_invalid<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_invalid<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-invalid Attribute Read more
source§fn aria_keyshortcuts<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_keyshortcuts<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-keyshortcuts Attribute Read more
source§fn aria_label<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_label<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-label Attribute Read more
source§fn aria_labelledby<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_labelledby<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-labelledby Attribute Read more
source§fn aria_level<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
fn aria_level<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-level Attribute Read more
source§fn aria_live<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_live<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn aria_modal<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_modal<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-modal Attribute Read more
source§fn aria_multiline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_multiline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-multiline Attribute Read more
source§fn aria_multiselectable<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_multiselectable<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-multiselectable Attribute Read more
source§fn aria_orientation<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_orientation<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-orientation Attribute Read more
source§fn aria_owns<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_owns<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn aria_placeholder<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_placeholder<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-placeholder Attribute Read more
source§fn aria_posinset<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
fn aria_posinset<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-posinset Attribute Read more
source§fn aria_pressed<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_pressed<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-pressed Attribute Read more
source§fn aria_readonly<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_readonly<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-readonly Attribute Read more
source§fn aria_relevant<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_relevant<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-relevant Attribute Read more
source§fn aria_required<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_required<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-required Attribute Read more
source§fn aria_roledescription<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_roledescription<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-roledescription Attribute Read more
source§fn aria_rowcount<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<i64>,
fn aria_rowcount<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<i64>,
The ARIA aria-rowcount Attribute Read more
source§fn aria_rowindex<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
fn aria_rowindex<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-rowindex Attribute Read more
source§fn aria_rowindextext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_rowindextext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-rowindextext Attribute Read more
source§fn aria_rowspan<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
fn aria_rowspan<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<u64>,
The ARIA aria-rowspan Attribute Read more
source§fn aria_selected<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_selected<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-selected Attribute Read more
source§fn aria_setsize<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<i64>,
fn aria_setsize<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<i64>,
The ARIA aria-setsize Attribute Read more
source§fn aria_sort<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn aria_sort<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn aria_valuemax<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
fn aria_valuemax<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
The ARIA aria-valuemax Attribute Read more
source§fn aria_valuemin<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
fn aria_valuemin<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
The ARIA aria-valuemin Attribute Read more
source§fn aria_valuenow<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
fn aria_valuenow<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
The ARIA aria-valuenow Attribute Read more
source§fn aria_valuetext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn aria_valuetext<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The ARIA aria-valuetext Attribute Read more
source§impl<Dom: Dom> Core for Set<Dom>
impl<Dom: Dom> Core for Set<Dom>
source§fn id<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn id<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn lang<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn lang<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn tabindex<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<i32>,
fn tabindex<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<i32>,
source§fn style<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn style<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§impl<Dom: Dom> Element for Set<Dom>
impl<Dom: Dom> Element for Set<Dom>
type Dom = Dom
type DomElement = SvgSetElement
source§fn class<'a, T>(self, class: impl RefSignalOrValue<'a, Item = T>) -> Self
fn class<'a, T>(self, class: impl RefSignalOrValue<'a, Item = T>) -> Self
Add a class to the element. Read more
source§fn classes<'a, T, Iter>(
self,
classes: impl RefSignalOrValue<'a, Item = Iter>
) -> Self
fn classes<'a, T, Iter>( self, classes: impl RefSignalOrValue<'a, Item = Iter> ) -> Self
Set the classes on an element Read more
source§fn attribute<'a>(
self,
name: &str,
value: impl RefSignalOrValue<'a, Item = impl Attribute>
) -> Self
fn attribute<'a>( self, name: &str, value: impl RefSignalOrValue<'a, Item = impl Attribute> ) -> Self
Set an attribute Read more
source§fn style_property<'a>(
self,
name: impl Into<String>,
value: impl RefSignalOrValue<'a, Item = impl AsRef<str> + 'a>
) -> Self
fn style_property<'a>( self, name: impl Into<String>, value: impl RefSignalOrValue<'a, Item = impl AsRef<str> + 'a> ) -> Self
Set an inline style property Read more
source§fn effect(self, f: impl FnOnce(&Self::DomElement) + 'static) -> Self
fn effect(self, f: impl FnOnce(&Self::DomElement) + 'static) -> Self
Apply an effect after the next render. Read more
source§fn effect_signal<T: 'static>(
self,
sig: impl Signal<Item = T> + 'static,
f: impl Fn(&Self::DomElement, T) + Clone + 'static
) -> Self
fn effect_signal<T: 'static>( self, sig: impl Signal<Item = T> + 'static, f: impl Fn(&Self::DomElement, T) + Clone + 'static ) -> Self
Apply an effect after the next render each time a signal yields a new
value.
source§fn map_element(self, f: impl FnOnce(&Self::DomElement) + 'static) -> Self
fn map_element(self, f: impl FnOnce(&Self::DomElement) + 'static) -> Self
Map a function over the element.
source§fn map_element_signal<T: 'static>(
self,
sig: impl Signal<Item = T> + 'static,
f: impl Fn(&Self::DomElement, T) + Clone + 'static
) -> Self
fn map_element_signal<T: 'static>( self, sig: impl Signal<Item = T> + 'static, f: impl Fn(&Self::DomElement, T) + Clone + 'static ) -> Self
Map a function over the element each time a signal changes.
source§fn handle(&self) -> ElementHandle<Self::Dom, Self::DomElement>
fn handle(&self) -> ElementHandle<Self::Dom, Self::DomElement>
Get a handle to the element. Read more
source§impl<Dom: Dom> ElementEvents for Set<Dom>
impl<Dom: Dom> ElementEvents for Set<Dom>
fn on_animationcancel( self, f: impl FnMut(AnimationEvent, Self::DomElement) + 'static ) -> Self
fn on_animationend( self, f: impl FnMut(AnimationEvent, Self::DomElement) + 'static ) -> Self
fn on_animationiteration( self, f: impl FnMut(AnimationEvent, Self::DomElement) + 'static ) -> Self
fn on_animationstart( self, f: impl FnMut(AnimationEvent, Self::DomElement) + 'static ) -> Self
fn on_auxclick( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_blur(self, f: impl FnMut(FocusEvent, Self::DomElement) + 'static) -> Self
fn on_click(self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static) -> Self
fn on_compositionend( self, f: impl FnMut(CompositionEvent, Self::DomElement) + 'static ) -> Self
fn on_compositionstart( self, f: impl FnMut(CompositionEvent, Self::DomElement) + 'static ) -> Self
fn on_compositionupdate( self, f: impl FnMut(CompositionEvent, Self::DomElement) + 'static ) -> Self
fn on_dblclick( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_focusin( self, f: impl FnMut(FocusEvent, Self::DomElement) + 'static ) -> Self
fn on_focusout( self, f: impl FnMut(FocusEvent, Self::DomElement) + 'static ) -> Self
fn on_focus(self, f: impl FnMut(FocusEvent, Self::DomElement) + 'static) -> Self
fn on_fullscreenchange( self, f: impl FnMut(Event, Self::DomElement) + 'static ) -> Self
fn on_fullscreenerror( self, f: impl FnMut(Event, Self::DomElement) + 'static ) -> Self
fn on_gotpointercapture( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_keydown( self, f: impl FnMut(KeyboardEvent, Self::DomElement) + 'static ) -> Self
fn on_keyup( self, f: impl FnMut(KeyboardEvent, Self::DomElement) + 'static ) -> Self
fn on_lostpointercapture( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_mousedown( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mouseenter( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mouseleave( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mousemove( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mouseout( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mouseover( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_mouseup( self, f: impl FnMut(MouseEvent, Self::DomElement) + 'static ) -> Self
fn on_pointercancel( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerdown( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerenter( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerleave( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointermove( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerout( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerover( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerrawupdate( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_pointerup( self, f: impl FnMut(PointerEvent, Self::DomElement) + 'static ) -> Self
fn on_transitioncancel( self, f: impl FnMut(TransitionEvent, Self::DomElement) + 'static ) -> Self
fn on_transitionend( self, f: impl FnMut(TransitionEvent, Self::DomElement) + 'static ) -> Self
fn on_transitionrun( self, f: impl FnMut(TransitionEvent, Self::DomElement) + 'static ) -> Self
fn on_transitionstart( self, f: impl FnMut(TransitionEvent, Self::DomElement) + 'static ) -> Self
fn on_scroll(self, f: impl FnMut(Event, Self::DomElement) + 'static) -> Self
fn on_scrollend(self, f: impl FnMut(Event, Self::DomElement) + 'static) -> Self
fn on_securitypolicyviolation( self, f: impl FnMut(SecurityPolicyViolationEvent, Self::DomElement) + 'static ) -> Self
fn on_touchcancel( self, f: impl FnMut(TouchEvent, Self::DomElement) + 'static ) -> Self
fn on_touchend( self, f: impl FnMut(TouchEvent, Self::DomElement) + 'static ) -> Self
fn on_touchmove( self, f: impl FnMut(TouchEvent, Self::DomElement) + 'static ) -> Self
fn on_touchstart( self, f: impl FnMut(TouchEvent, Self::DomElement) + 'static ) -> Self
fn on_wheel(self, f: impl FnMut(WheelEvent, Self::DomElement) + 'static) -> Self
fn on_copy(self, f: impl FnMut(Event, Self::DomElement) + 'static) -> Self
fn on_cut(self, f: impl FnMut(Event, Self::DomElement) + 'static) -> Self
fn on_paste(self, f: impl FnMut(Event, Self::DomElement) + 'static) -> Self
source§impl<D: Dom> OtherAnimation for Set<D>
impl<D: Dom> OtherAnimation for Set<D>
source§fn attribute_name<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn attribute_name<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG
attributeName
attribute Read moresource§fn additive<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn additive<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
source§fn accumulate<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn accumulate<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG
accumulate
attribute Read moresource§impl<Dom: Dom> ParentElement<Dom> for Set<Dom>
impl<Dom: Dom> ParentElement<Dom> for Set<Dom>
source§fn text<'a, T>(self, child: impl RefSignalOrValue<'a, Item = T>) -> Self
fn text<'a, T>(self, child: impl RefSignalOrValue<'a, Item = T>) -> Self
Add a text child to this element Read more
source§fn child(self, child: impl SignalOrValue<Item = impl ChildNode<Dom>>) -> Self
fn child(self, child: impl SignalOrValue<Item = impl ChildNode<Dom>>) -> Self
Add a child to the element. Read more
source§fn optional_child(
self,
child: impl SignalOrValue<Item = Option<impl ChildNode<Dom>>>
) -> Self
fn optional_child( self, child: impl SignalOrValue<Item = Option<impl ChildNode<Dom>>> ) -> Self
Add an optional child to the element. Read more
source§fn children<N>(self, children: impl IntoIterator<Item = N>) -> Self
fn children<N>(self, children: impl IntoIterator<Item = N>) -> Self
Add children to the element. Read more
impl<Dom: Dom, Mutability> Value for Set<Dom, Mutability>
Auto Trait Implementations§
impl<Dom, Mutability> Freeze for Set<Dom, Mutability>where
<Dom as Dom>::Element: Freeze,
impl<Dom = Dry, Mutability = Mut> !RefUnwindSafe for Set<Dom, Mutability>
impl<Dom = Dry, Mutability = Mut> !Send for Set<Dom, Mutability>
impl<Dom = Dry, Mutability = Mut> !Sync for Set<Dom, Mutability>
impl<Dom, Mutability> Unpin for Set<Dom, Mutability>
impl<Dom = Dry, Mutability = Mut> !UnwindSafe for Set<Dom, Mutability>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<'a, T> RefSignalOrValue<'a> for Twhere
T: RefValue<'a> + 'a,
impl<'a, T> RefSignalOrValue<'a> for Twhere
T: RefValue<'a> + 'a,
§type Map<'b: 'a, F: FnMut(<T as RefSignalOrValue<'a>>::Item) -> R + 'b, R: RefSignalOrValue<'b, Item = R> + 'b> = R
type Map<'b: 'a, F: FnMut(<T as RefSignalOrValue<'a>>::Item) -> R + 'b, R: RefSignalOrValue<'b, Item = R> + 'b> = R
§type Signal = Always<<T as RefSignalOrValue<'a>>::Item>
type Signal = Always<<T as RefSignalOrValue<'a>>::Item>
The signal type. Use
Always
for value types.source§fn map<'b, F, R>(
self,
callback: F
) -> <T as RefSignalOrValue<'a>>::Map<'b, F, R>where
'b: 'a,
R: RefSignalOrValue<'b, Item = R> + 'b,
F: FnMut(<T as RefSignalOrValue<'a>>::Item) -> R + 'b,
fn map<'b, F, R>(
self,
callback: F
) -> <T as RefSignalOrValue<'a>>::Map<'b, F, R>where
'b: 'a,
R: RefSignalOrValue<'b, Item = R> + 'b,
F: FnMut(<T as RefSignalOrValue<'a>>::Item) -> R + 'b,
Map a function over this signal/value to produce a new signal/value.
source§fn select<FVal, FSig, Data, Out>(
self,
fn_val: FVal,
_fn_sig: FSig,
data: Data
) -> Outwhere
FVal: FnOnce(Data, <T as RefSignalOrValue<'a>>::Item) -> Out,
FSig: FnOnce(Data, <T as RefSignalOrValue<'a>>::Signal) -> Out,
fn select<FVal, FSig, Data, Out>(
self,
fn_val: FVal,
_fn_sig: FSig,
data: Data
) -> Outwhere
FVal: FnOnce(Data, <T as RefSignalOrValue<'a>>::Item) -> Out,
FSig: FnOnce(Data, <T as RefSignalOrValue<'a>>::Signal) -> Out,
Select a function based on whether this is a signal or value. Read more
source§fn select_spawn<FVal, FSig, Task, Exec>(
self,
fn_val: FVal,
_fn_sig: FSig,
executor: &mut Exec
)
fn select_spawn<FVal, FSig, Task, Exec>( self, fn_val: FVal, _fn_sig: FSig, executor: &mut Exec )
Select a function based on whether this is a signal or value. Read more