live_results.js | |
bbop. | BBOP JS widget to display the results of a search on callback. |
Functions | |
live_results | Contructor for the bbop.widget.live_results object. |
item_name | Return a string of the name attribute used by the checkboxes if we selected for checkboxes to be displayed. |
toggle_id | Return a string of the id of the checkbox in the header if we selected for checkboxes to be displayed. |
get_selected_items | The idea is to return a list of the items selected (with checkboxes) in the display. |
BBOP JS widget to display the results of a search on callback.
TODO: Button insertion in other non-internal places.
This is a Bootstrap 3 widget.
Functions | |
live_results | Contructor for the bbop.widget.live_results object. |
item_name | Return a string of the name attribute used by the checkboxes if we selected for checkboxes to be displayed. |
toggle_id | Return a string of the id of the checkbox in the header if we selected for checkboxes to be displayed. |
get_selected_items | The idea is to return a list of the items selected (with checkboxes) in the display. |
bbop.widget.live_results = function( interface_id, manager, conf_class, handler, linker, in_argument_hash )
Contructor for the bbop.widget.live_results object.
Results table and optional buttons.
callback_priority | default 0 |
user_buttons | default [], should be any passable renderable button |
user_buttons_div_id | default null |
selectable_p | have selectable side buttons (default true) |
interface_id | string id of the element to build on |
manager | the shared GOlr manager to use |
conf_class | the profile of the specific conf to use |
handler | handler to use in rendering |
linker | linker to use in rendering |
in_argument_hash | [optional] optional hash of optional arguments, described above |
this object
this.get_selected_items = function()
The idea is to return a list of the items selected (with checkboxes) in the display. This means that there are three possibilities. 1) We are not using checkboxes or the display has not been established, so we return null; 2) no or all items have been selected, so we get back an empty list (all == none in our view); 3) a subset list of strings (ids).
NOTE: Naturally, does not function until the display is established.
n/a
Returns string list or null
Contructor for the bbop.widget.live_results object.
bbop.widget.live_results = function( interface_id, manager, conf_class, handler, linker, in_argument_hash )
Return a string of the name attribute used by the checkboxes if we selected for checkboxes to be displayed.
this.item_name = function()
Return a string of the id of the checkbox in the header if we selected for checkboxes to be displayed.
this.toggle_id = function()
The idea is to return a list of the items selected (with checkboxes) in the display.
this.get_selected_items = function()