Fork me on GitHub
Show:

ToggleCollectionBehavior

Summary

A collection of ToggleBehavior models.

Should only be mixed into Collection objects.

Constructor

aeris.util.aeris.ToggleCollectionBehavior

Syntax

aeris.util.aeris.ToggleCollectionBehavior

()

Summary

Methods

deselectAll

Syntax

deselectAll

()

Summary

Deselect all models in the collection.

getDeselected

Syntax

getDeselected

() Array.<Model>

Summary

Returns:

getSelected

Syntax

getSelected

() Array.<Model>

Summary

Returns:

selectAll

Syntax

selectAll

()

Summary

Select all models in the collection.

selectOnly

Syntax

selectOnly

(
  • modelToSelect
)

Summary

Selects the specified model, and deselects all others in the collection.

Parameters:

toggleAll

Syntax

toggleAll

()

Summary

Toggle whether each model in the collection is selected.