Struct silkenweb::elements::OutputBuilder [−][src]
pub struct OutputBuilder(_);
Implementations
impl OutputBuilder
[src]
impl OutputBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> OutputBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> OutputBuilder
[src]
pub fn for_(self, value: impl AttributeValue<String>) -> OutputBuilder
[src]
A space-separated list of other elements’ ids, indicating that those elements contributed input values to (or otherwise affected) the calculation.
pub fn form(self, value: impl AttributeValue<String>) -> OutputBuilder
[src]
The <form>
element to associate the output with (its form owner). The value of this
attribute must be the id of a <form>
in the same document. (If this attribute is not
set, the <output>
is associated with its ancestor <form>
element, if any.)
This attribute lets you associate <output>
elements to <form>
s anywhere in the
document, not just inside a <form>
. It can also override an ancestor <form>
element.
pub fn name(self, value: impl AttributeValue<String>) -> OutputBuilder
[src]
The element’s name. Used in the form.elements API.
impl OutputBuilder
[src]
impl OutputBuilder
[src]pub fn on_blur(
self,
f: impl FnMut(FocusEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(Event, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlOutputElement) + 'static
) -> OutputBuilder
pub fn effect(self, f: impl Effect<HtmlOutputElement>) -> OutputBuilder
[src]
impl OutputBuilder
[src]
impl OutputBuilder
[src]pub fn text(self, child: impl Text) -> OutputBuilder
[src]
pub fn child<Child>(self, c: Child) -> OutputBuilder where
Child: Into<Element>,
[src]
Child: Into<Element>,
Trait Implementations
impl Builder for OutputBuilder
[src]
impl Builder for OutputBuilder
[src]type Target = Output
pub fn build(self) -> <OutputBuilder as Builder>::Target
[src]
pub fn into_element(self) -> Element
[src]
impl DomElement for OutputBuilder
[src]
impl DomElement for OutputBuilder
[src]type Target = HtmlOutputElement
pub fn dom_element(&self) -> <OutputBuilder as DomElement>::Target
[src]
impl From<OutputBuilder> for Element
[src]
impl From<OutputBuilder> for Element
[src]pub fn from(builder: OutputBuilder) -> Element
[src]
impl From<OutputBuilder> for ElementBuilder
[src]
impl From<OutputBuilder> for ElementBuilder
[src]pub fn from(builder: OutputBuilder) -> ElementBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for OutputBuilder
impl !RefUnwindSafe for OutputBuilder
impl !Send for OutputBuilder
impl !Send for OutputBuilder
impl !Sync for OutputBuilder
impl !Sync for OutputBuilder
impl Unpin for OutputBuilder
impl Unpin for OutputBuilder
impl !UnwindSafe for OutputBuilder
impl !UnwindSafe for OutputBuilder