Struct silkenweb_html::elements::ObjectBuilder [−][src]
pub struct ObjectBuilder(_);
Implementations
impl ObjectBuilder[src]
impl ObjectBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn data(self, value: impl AttributeValue<String>) -> Self[src]
Specifies the URL of the resource.
pub fn form(self, value: impl AttributeValue<String>) -> Self[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>) -> Self[src]
The height of the displayed resource, in CSS pixels. No percentages.
pub fn name(self, value: impl AttributeValue<String>) -> Self[src]
The name of valid browsing context.
pub fn type_(self, value: impl AttributeValue<String>) -> Self[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>) -> Self[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>) -> Self[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>) -> Self[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 'static + FnMut(FocusEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlObjectElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlObjectElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(Event, HtmlObjectElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlObjectElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlObjectElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlObjectElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlObjectElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlObjectElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlObjectElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlObjectElement>) -> Self[src]
impl ObjectBuilder[src]
impl ObjectBuilder[src]Trait Implementations
impl Builder for ObjectBuilder[src]
impl Builder for ObjectBuilder[src]impl DomElement for ObjectBuilder[src]
impl DomElement for ObjectBuilder[src]type Target = HtmlObjectElement
fn dom_element(&self) -> Self::Target[src]
impl From<ObjectBuilder> for Element[src]
impl From<ObjectBuilder> for Element[src]fn from(builder: ObjectBuilder) -> Self[src]
impl From<ObjectBuilder> for ElementBuilder[src]
impl From<ObjectBuilder> for ElementBuilder[src]fn from(builder: ObjectBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for ObjectBuilder
impl !RefUnwindSafe for ObjectBuilderimpl !Send for ObjectBuilder
impl !Send for ObjectBuilderimpl !Sync for ObjectBuilder
impl !Sync for ObjectBuilderimpl Unpin for ObjectBuilder
impl Unpin for ObjectBuilderimpl !UnwindSafe for ObjectBuilder
impl !UnwindSafe for ObjectBuilder