Struct silkenweb_html::elements::EmbedBuilder [−][src]
pub struct EmbedBuilder(_);
Implementations
impl EmbedBuilder[src]
impl EmbedBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn height(self, value: impl AttributeValue<String>) -> Self[src]
The displayed height of the resource, in CSS pixels. This must be an absolute value; percentages are not allowed.
pub fn src(self, value: impl AttributeValue<String>) -> Self[src]
The URL of the resource being embedded.
pub fn type_(self, value: impl AttributeValue<String>) -> Self[src]
The MIME type to use to select the plug-in to instantiate.
pub fn width(self, value: impl AttributeValue<String>) -> Self[src]
The displayed width of the resource, in CSS pixels. This must be an absolute value; percentages are not allowed.
impl EmbedBuilder[src]
impl EmbedBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlEmbedElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlEmbedElement)
) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlEmbedElement)) -> Self[src]
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlEmbedElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlEmbedElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlEmbedElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlEmbedElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlEmbedElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlEmbedElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlEmbedElement>) -> Self[src]
Trait Implementations
impl Builder for EmbedBuilder[src]
impl Builder for EmbedBuilder[src]impl DomElement for EmbedBuilder[src]
impl DomElement for EmbedBuilder[src]type Target = HtmlEmbedElement
fn dom_element(&self) -> Self::Target[src]
impl From<EmbedBuilder> for Element[src]
impl From<EmbedBuilder> for Element[src]fn from(builder: EmbedBuilder) -> Self[src]
impl From<EmbedBuilder> for ElementBuilder[src]
impl From<EmbedBuilder> for ElementBuilder[src]fn from(builder: EmbedBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for EmbedBuilder
impl !RefUnwindSafe for EmbedBuilderimpl !Send for EmbedBuilder
impl !Send for EmbedBuilderimpl !Sync for EmbedBuilder
impl !Sync for EmbedBuilderimpl Unpin for EmbedBuilder
impl Unpin for EmbedBuilderimpl !UnwindSafe for EmbedBuilder
impl !UnwindSafe for EmbedBuilder