Class: Avo::Resources::Controls::ActionsList
Instance Method Summary
collapse
Methods inherited from BaseControl
#action?, #actions_list?, #back_button?, #delete_button?, #detach_button?, #edit_button?, #icon, #initialize, #label, #link_to?, #title
Instance Method Details
#color ⇒ Object
9
10
11
|
# File 'lib/avo/resources/controls/actions_list.rb', line 9
def color
@args[:color] || :primary
end
|
#exclude ⇒ Object
5
6
7
|
# File 'lib/avo/resources/controls/actions_list.rb', line 5
def exclude
Array.wrap(@args[:exclude]) || []
end
|
#style ⇒ Object
13
14
15
|
# File 'lib/avo/resources/controls/actions_list.rb', line 13
def style
@args[:style] || :outline
end
|