BulkSelector

BulkSelector

new BulkSelector(courseEditor)

Source:

The class constructor.

Parameters:
Name Type Description
courseEditor CourseEditor

the original actions component.

Methods

checkAllSelected() → {Boolean}

Source:

Checks if all selectable elements are selected.

Returns:

true if all are selected

Type
Boolean

processNewSelection(id, elementType, settings)

Source:

Process a new selection.

Parameters:
Name Type Description
id Number
elementType String

cm or section

settings Object

special selection settings

Properties
Name Type Description
all Boolean

if the action is over all elements of the same type

range Boolean

if the action is over a range of elements

selectAll(value)

Source:

Select all elements of the current type.

Parameters:
Name Type Description
value Boolean

the wanted selected value

switchCurrentSelection()

Source:

Switch between section and cm selection.