Struct silkenweb::elements::BaseBuilder [−][src]
pub struct BaseBuilder(_);
Implementations
impl BaseBuilder
[src]
impl BaseBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> BaseBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> BaseBuilder
[src]
pub fn href(self, value: impl AttributeValue<String>) -> BaseBuilder
[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>) -> BaseBuilder
[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 FnMut(FocusEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(Event, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlBaseElement) + 'static
) -> BaseBuilder
pub fn effect(self, f: impl Effect<HtmlBaseElement>) -> BaseBuilder
[src]
Trait Implementations
impl Builder for BaseBuilder
[src]
impl Builder for BaseBuilder
[src]type Target = Base
pub fn build(self) -> <BaseBuilder as Builder>::Target
[src]
pub fn into_element(self) -> Element
[src]
impl DomElement for BaseBuilder
[src]
impl DomElement for BaseBuilder
[src]type Target = HtmlBaseElement
pub fn dom_element(&self) -> <BaseBuilder as DomElement>::Target
[src]
impl From<BaseBuilder> for Element
[src]
impl From<BaseBuilder> for Element
[src]pub fn from(builder: BaseBuilder) -> Element
[src]
impl From<BaseBuilder> for ElementBuilder
[src]
impl From<BaseBuilder> for ElementBuilder
[src]pub fn from(builder: BaseBuilder) -> ElementBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BaseBuilder
impl !RefUnwindSafe for BaseBuilder
impl !Send for BaseBuilder
impl !Send for BaseBuilder
impl !Sync for BaseBuilder
impl !Sync for BaseBuilder
impl Unpin for BaseBuilder
impl Unpin for BaseBuilder
impl !UnwindSafe for BaseBuilder
impl !UnwindSafe for BaseBuilder