BulkSelector

BulkSelector

new BulkSelector(courseEditor)

Description:
  • The class constructor.

Source:
Parameters:
Name Type Description
courseEditor CourseEditor

the original actions component.

Methods

checkAllSelected() → {Boolean}

Description:
  • Checks if all selectable elements are selected.

Source:
Returns:

true if all are selected

Type
Boolean

processNewSelection(id, elementType, settings)

Description:
  • Process a new selection.

Source:
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)

Description:
  • Select all elements of the current type.

Source:
Parameters:
Name Type Description
value Boolean

the wanted selected value

switchCurrentSelection()

Description:
  • Switch between section and cm selection.

Source: