Struct silkenweb_html::elements::NoscriptBuilder
source · pub struct NoscriptBuilder(_);
Implementations§
source§impl NoscriptBuilder
impl NoscriptBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
source§impl NoscriptBuilder
impl NoscriptBuilder
pub fn on_blur(self, f: impl 'static + FnMut(FocusEvent, HtmlElement)) -> Self
pub fn on_click(self, f: impl 'static + FnMut(MouseEvent, HtmlElement)) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlElement)) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlElement)
) -> Self
pub fn on_input(self, f: impl 'static + FnMut(InputEvent, HtmlElement)) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlElement>) -> Self
Trait Implementations§
source§impl Builder for NoscriptBuilder
impl Builder for NoscriptBuilder
source§impl DomElement for NoscriptBuilder
impl DomElement for NoscriptBuilder
type Target = HtmlElement
fn dom_element(&self) -> Self::Target
source§impl From<NoscriptBuilder> for Element
impl From<NoscriptBuilder> for Element
source§fn from(builder: NoscriptBuilder) -> Self
fn from(builder: NoscriptBuilder) -> Self
Converts to this type from the input type.
source§impl From<NoscriptBuilder> for ElementBuilder
impl From<NoscriptBuilder> for ElementBuilder
source§fn from(builder: NoscriptBuilder) -> Self
fn from(builder: NoscriptBuilder) -> Self
Converts to this type from the input type.