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