class Primer::Beta::ProgressBar
Use ‘ProgressBar` to visualize task completion.
def initialize(size: SIZE_DEFAULT, **system_arguments)
-
system_arguments
(Hash
) -- <%= link_to_system_arguments_docs %> -
size
(Symbol
) -- <%= one_of(Primer::Beta::ProgressBar::SIZE_OPTIONS) %> Increases height.
def initialize(size: SIZE_DEFAULT, **system_arguments) @system_arguments = deny_tag_argument(**system_arguments) @system_arguments[:classes] = class_names( @system_arguments[:classes], "Progress", SIZE_MAPPINGS[fetch_or_fallback(SIZE_OPTIONS, size, SIZE_DEFAULT)] ) @system_arguments[:tag] = :span end
def render?
def render? items? end