mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 01:18:57 +00:00
[Fixed Position] Add spec for selection
Add spec for selection manager for layout and fixed position views, WTD-879.
This commit is contained in:
@ -7,6 +7,12 @@ define(
|
||||
|
||||
/**
|
||||
* Tracks selection state for Layout and Fixed Position views.
|
||||
* This manages and mutates the provided selection array in-place,
|
||||
* and takes care to only modify the array elements it manages
|
||||
* (the view's proxy, and the single selection); selections may be
|
||||
* added or removed elsewhere provided that similar care is taken
|
||||
* elsewhere.
|
||||
*
|
||||
* @param {Array} selection the selection array from the view's scope
|
||||
* @param [proxy] an object which represents the selection of the view
|
||||
* itself (which handles view-level toolbar behavior)
|
||||
|
Reference in New Issue
Block a user