Struct silkenweb_html::elements::ProgressBuilder [−][src]
pub struct ProgressBuilder(_);
Implementations
impl ProgressBuilder[src]
impl ProgressBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn max(self, value: impl AttributeValue<f32>) -> Self[src]
This attribute describes how much work the task indicated by the progress element requires. The max attribute, if present, must have a value greater than 0 and be a valid floating point number. The default value is 1.
pub fn value(self, value: impl AttributeValue<f32>) -> Self[src]
This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and max, or between 0 and 1 if max is omitted. If there is no value attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.
impl ProgressBuilder[src]
impl ProgressBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlProgressElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlProgressElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(Event, HtmlProgressElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlProgressElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlProgressElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlProgressElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlProgressElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlProgressElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlProgressElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlProgressElement>) -> Self[src]
impl ProgressBuilder[src]
impl ProgressBuilder[src]Trait Implementations
impl Builder for ProgressBuilder[src]
impl Builder for ProgressBuilder[src]impl DomElement for ProgressBuilder[src]
impl DomElement for ProgressBuilder[src]type Target = HtmlProgressElement
fn dom_element(&self) -> Self::Target[src]
impl From<ProgressBuilder> for Element[src]
impl From<ProgressBuilder> for Element[src]fn from(builder: ProgressBuilder) -> Self[src]
impl From<ProgressBuilder> for ElementBuilder[src]
impl From<ProgressBuilder> for ElementBuilder[src]fn from(builder: ProgressBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProgressBuilder
impl !RefUnwindSafe for ProgressBuilderimpl !Send for ProgressBuilder
impl !Send for ProgressBuilderimpl !Sync for ProgressBuilder
impl !Sync for ProgressBuilderimpl Unpin for ProgressBuilder
impl Unpin for ProgressBuilderimpl !UnwindSafe for ProgressBuilder
impl !UnwindSafe for ProgressBuilder