Class: NattyUI::Wrapper::Progress
- Includes:
- ProgressAttributes, ValueAttributes
- Defined in:
- lib/natty-ui/wrapper/progress.rb
Overview
An Element displaying a progression.
Instance Attribute Summary collapse
-
#completed? ⇒ Boolean
included
from ProgressAttributes
readonly
Whether the task completed successfully.
-
#failed? ⇒ Boolean
included
from ProgressAttributes
readonly
Whether the task failed.
-
#info ⇒ String?
included
from ValueAttributes
Current information.
-
#max_value ⇒ Float?
included
from ValueAttributes
readonly
Maximum value.
-
#value ⇒ Float
included
from ValueAttributes
Current value.
Instance Method Summary collapse
-
#step(increment = 1) ⇒ Wrapper::Element
included
from ValueAttributes
Increase the value by given amount.
Instance Attribute Details
#completed? ⇒ Boolean (readonly) Originally defined in module ProgressAttributes
Returns whether the task completed successfully.
#failed? ⇒ Boolean (readonly) Originally defined in module ProgressAttributes
Returns whether the task failed.
#info ⇒ String? Originally defined in module ValueAttributes
Returns current information.
#max_value ⇒ Float? (readonly) Originally defined in module ValueAttributes
Maximum value.
#value ⇒ Float Originally defined in module ValueAttributes
Returns current value.
Instance Method Details
#step(increment = 1) ⇒ Wrapper::Element Originally defined in module ValueAttributes
Increase the value by given amount.