Struct silkenweb_html::elements::MapBuilder [−][src]
pub struct MapBuilder(_);
Implementations
impl MapBuilder[src]
impl MapBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn name(self, value: impl AttributeValue<String>) -> Self[src]
The name attribute gives the map a name so that it can be referenced. The attribute must
be present and must have a non-empty value with no space characters. The value of the
name attribute must not be a compatibility-caseless match for the value of the name
attribute of another <map> element in the same document. If the id attribute is also
specified, both attributes must have the same value.
impl MapBuilder[src]
impl MapBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlMapElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlMapElement)
) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlMapElement)) -> Self[src]
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlMapElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlMapElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlMapElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlMapElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlMapElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlMapElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlMapElement>) -> Self[src]
impl MapBuilder[src]
impl MapBuilder[src]Trait Implementations
impl Builder for MapBuilder[src]
impl Builder for MapBuilder[src]impl DomElement for MapBuilder[src]
impl DomElement for MapBuilder[src]type Target = HtmlMapElement
fn dom_element(&self) -> Self::Target[src]
impl From<MapBuilder> for Element[src]
impl From<MapBuilder> for Element[src]fn from(builder: MapBuilder) -> Self[src]
impl From<MapBuilder> for ElementBuilder[src]
impl From<MapBuilder> for ElementBuilder[src]fn from(builder: MapBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for MapBuilder
impl !RefUnwindSafe for MapBuilderimpl !Send for MapBuilder
impl !Send for MapBuilderimpl !Sync for MapBuilder
impl !Sync for MapBuilderimpl Unpin for MapBuilder
impl Unpin for MapBuilderimpl !UnwindSafe for MapBuilder
impl !UnwindSafe for MapBuilder