Struct silkenweb::elements::ObjectBuilder [−][src]
pub struct ObjectBuilder(_);
Implementations
impl ObjectBuilder
[src]
impl ObjectBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
pub fn data(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
Specifies the URL of the resource.
pub fn form(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
The form element, if any, that the object element is associated with (its form owner).
The value of the attribute must be an ID of a <form>
element in the same document.
pub fn height(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
The height of the displayed resource, in CSS pixels. No percentages.
pub fn name(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
The name of valid browsing context.
pub fn type_(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
The content type of the resource specified by data. At least one of data and type must be defined.
pub fn typemustmatch(self, value: impl AttributeValue<bool>) -> ObjectBuilder
[src]
Indicates if the type attribute and the actual content type of the resource must match to be used.
pub fn usemap(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
A hash-name reference to a <map>
element; that is a ‘#’ followed by the value of a name
of a map element.
pub fn width(self, value: impl AttributeValue<String>) -> ObjectBuilder
[src]
The width of the display resource, in CSS pixels. No percentages.
impl ObjectBuilder
[src]
impl ObjectBuilder
[src]pub fn on_blur(
self,
f: impl FnMut(FocusEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(Event, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlObjectElement) + 'static
) -> ObjectBuilder
pub fn effect(self, f: impl Effect<HtmlObjectElement>) -> ObjectBuilder
[src]
impl ObjectBuilder
[src]
impl ObjectBuilder
[src]pub fn text(self, child: impl Text) -> ObjectBuilder
[src]
pub fn child<Child>(self, c: Child) -> ObjectBuilder where
Child: Into<Element>,
[src]
Child: Into<Element>,
Trait Implementations
impl Builder for ObjectBuilder
[src]
impl Builder for ObjectBuilder
[src]type Target = Object
pub fn build(self) -> <ObjectBuilder as Builder>::Target
[src]
pub fn into_element(self) -> Element
[src]
impl DomElement for ObjectBuilder
[src]
impl DomElement for ObjectBuilder
[src]type Target = HtmlObjectElement
pub fn dom_element(&self) -> <ObjectBuilder as DomElement>::Target
[src]
impl From<ObjectBuilder> for ElementBuilder
[src]
impl From<ObjectBuilder> for ElementBuilder
[src]pub fn from(builder: ObjectBuilder) -> ElementBuilder
[src]
impl From<ObjectBuilder> for Element
[src]
impl From<ObjectBuilder> for Element
[src]pub fn from(builder: ObjectBuilder) -> Element
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ObjectBuilder
impl !RefUnwindSafe for ObjectBuilder
impl !Send for ObjectBuilder
impl !Send for ObjectBuilder
impl !Sync for ObjectBuilder
impl !Sync for ObjectBuilder
impl Unpin for ObjectBuilder
impl Unpin for ObjectBuilder
impl !UnwindSafe for ObjectBuilder
impl !UnwindSafe for ObjectBuilder