Class: UI::ActivityIndicator

Inherits:
View show all
Defined in:
flow/ui/activity_indicator.rb

Instance Attribute Summary

Attributes inherited from View

#alpha, #background_color, #border_color, #border_radius, #border_width

Attributes inherited from CSSNode

#align_items, #align_self, #border_bottom_width, #border_end, #border_left_width, #border_right_width, #border_start, #border_top_width, #border_width, #bottom, #flex, #flex_direction, #flex_wrap, #height, #justify_content, #left, #margin, #margin_bottom, #margin_end, #margin_left, #margin_right, #margin_start, #margin_top, #max_height, #max_width, #min_height, #min_width, #name, #padding, #padding_bottom, #padding_end, #padding_left, #padding_right, #padding_start, #padding_top, #position, #right, #top, #width

Instance Method Summary (collapse)

Methods inherited from View

#hidden=, #hidden?, #proxy, #update_layout

Methods inherited from CSSNode

#add_child, #children, #delete_child, #parent, #root, set_scale

Instance Method Details

- (Boolean) animating?

Returns wether the indicator is currently animating

Returns:

  • (Boolean)


# File 'flow/ui/activity_indicator.rb', line 9

- (Object) color=(color)

Set the color of the activity indicator

Parameters:



# File 'flow/ui/activity_indicator.rb', line 16

- (Object) start

Start animating the view



# File 'flow/ui/activity_indicator.rb', line 3

- (Object) stop

Stop animating the view



# File 'flow/ui/activity_indicator.rb', line 6