Struct silkenweb_html::elements::BaseBuilder [−][src]
pub struct BaseBuilder(_);
Implementations
impl BaseBuilder[src]
impl BaseBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn href(self, value: impl AttributeValue<String>) -> Self[src]
The base URL to be used throughout the document for relative URLs. Absolute and relative URLs are allowed.
pub fn target(self, value: impl AttributeValue<String>) -> Self[src]
A keyword or author-defined name of the default browsing context to display the result
when links or forms cause navigation, for <a> or <form> elements without an explicit
target attribute. The attribute value targets a browsing context (such as a tab, window,
or <iframe>).
The following keywords have special meanings:
_self: Load the result into the same browsing context as the current one. (This is the default.)_blank: Load the result into a new, unnamed browsing context._parent: Load the result into the parent browsing context of the current one. (If the current page is inside a frame.) If there is no parent, behaves the same way as _self._top: Load the result into the topmost browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, behaves the same way as _self.
impl BaseBuilder[src]
impl BaseBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlBaseElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlBaseElement)
) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlBaseElement)) -> Self[src]
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlBaseElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlBaseElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlBaseElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlBaseElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlBaseElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlBaseElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlBaseElement>) -> Self[src]
Trait Implementations
impl Builder for BaseBuilder[src]
impl Builder for BaseBuilder[src]impl DomElement for BaseBuilder[src]
impl DomElement for BaseBuilder[src]type Target = HtmlBaseElement
fn dom_element(&self) -> Self::Target[src]
impl From<BaseBuilder> for Element[src]
impl From<BaseBuilder> for Element[src]fn from(builder: BaseBuilder) -> Self[src]
impl From<BaseBuilder> for ElementBuilder[src]
impl From<BaseBuilder> for ElementBuilder[src]fn from(builder: BaseBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for BaseBuilder
impl !RefUnwindSafe for BaseBuilderimpl !Send for BaseBuilder
impl !Send for BaseBuilderimpl !Sync for BaseBuilder
impl !Sync for BaseBuilderimpl Unpin for BaseBuilder
impl Unpin for BaseBuilderimpl !UnwindSafe for BaseBuilder
impl !UnwindSafe for BaseBuilder