list_manager

Returns a handle to the listManager with this ID. Currently this class is primarily useful for dealing with the selection and deselection of threads.

Parameters

  • listmanager_id Number
    The ID of the listManager you want to manipulate.

Returns

Object
The Object returned here can be used to easily call a number of utility functions on this listManager.

Methods:

get_selection
select_item
select_items
unselect_item
unselect_items

Direct Link

get_selection

( )
Returns the currently selected items.

Returns

Object
An Object consisting of the following members:
- ids: an array of the IDs of all selected items
- length: the number of selected items
- items: an Array of the DOM elements of all selected items

Direct Link

select_item

( item )
Marks the given item as selected.

Parameters

  • item String
    A jQuery selector representing the item to select.

Direct Link

select_items

( items )
Marks the given items as selected. Each item in the array that's passed in will have select_item called on it individually.

Parameters

  • items Array
    An array of jQuery selectors for the items to select.

Direct Link

unselect_item

( item )
Marks the given item as unselected.

Parameters

  • item String
    A jQuery selector for the item to unselect.

Direct Link

unselect_items

( items )
Marks the given items as unselected. Each item in the array that's passed in will have unselect_item called on it individually.

Parameters

  • items Array
    An array of jQuery selectors for the items to unselect.