app/controllers/anoubis/output/frame.rb
##
# Adds new button into frame buttons hash hash
# @param [Hash] options the button element options
# @option options [String] :key The identifier of the button element.
# @option options [String] :type The type of the button ('primary', 'danger', 'default')
# @option options [String] :mode The button action object ('single', 'multiple')
Adds new button into frame buttons hash hash
Adds new button into frame buttons hash hash
def addButton(options)
        button = FrameButtonItem.new options
        self.button_items.push button
        self.buttons[button.key.to_s.to_sym] = self.button_items[self.button_items.count-1]
      end
def addButton ( options ) button = FrameButtonItem . new options self . button_items . push button self . buttons [ button . key . to_s . to_sym ] = self . button_items [ self . button_items . count - 1 ] end
Adds new button into frame buttons hash hash
Adds new button into frame buttons hash hash
options
:mode The button action object ('single', 'multiple')
: mode The button action object ( ' single ' ' multiple ' )
<not_specific>
options the button element options
options the button element options