Struct silkenweb::elements::FieldsetBuilder[][src]

pub struct FieldsetBuilder(_);

Implementations

impl FieldsetBuilder[src]

pub fn id(self, value: impl AttributeValue<String>) -> FieldsetBuilder[src]

pub fn class(self, value: impl AttributeValue<String>) -> FieldsetBuilder[src]

pub fn disabled(self, value: impl AttributeValue<String>) -> FieldsetBuilder[src]

If this Boolean attribute is set, all form controls that are descendants of the <fieldset> are disabled, meaning they are not editable and won’t be submitted along with the <form>. They won’t receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the <legend> element won’t be disabled.

pub fn form(self, value: impl AttributeValue<String>) -> FieldsetBuilder[src]

This attribute takes the value of the id attribute of a <form> element you want the <fieldset> to be part of, even if it is not inside the form.

pub fn name(self, value: impl AttributeValue<String>) -> FieldsetBuilder[src]

The name associated with the group.

Note: The caption for the fieldset is given by the first <legend> element inside it.

impl FieldsetBuilder[src]

pub fn on_blur(
    self,
    f: impl FnMut(FocusEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_click(
    self,
    f: impl FnMut(MouseEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_change(
    self,
    f: impl FnMut(Event, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_dblclick(
    self,
    f: impl FnMut(MouseEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_focusout(
    self,
    f: impl FnMut(FocusEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_input(
    self,
    f: impl FnMut(InputEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_keydown(
    self,
    f: impl FnMut(KeyboardEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn on_keyup(
    self,
    f: impl FnMut(KeyboardEvent, HtmlFieldSetElement) + 'static
) -> FieldsetBuilder
[src]

pub fn effect(self, f: impl Effect<HtmlFieldSetElement>) -> FieldsetBuilder[src]

impl FieldsetBuilder[src]

pub fn text(self, child: impl Text) -> FieldsetBuilder[src]

pub fn child<Child>(self, c: Child) -> FieldsetBuilder where
    Child: Into<Element>, 
[src]

Trait Implementations

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.