mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
[Fixed Position] Add placeholder specs
Add placeholder specs for classes added to support selection of elements in a fixed position view, WTD-879.
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
['./Accessor'],
|
||||
function (Accessor) {
|
||||
['./AccessorMutator'],
|
||||
function (AccessorMutator) {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
@ -18,11 +18,11 @@ define(
|
||||
function ElementProxy(element, index, elements) {
|
||||
return {
|
||||
element: element,
|
||||
x: new Accessor(element, 'x'),
|
||||
y: new Accessor(element, 'y'),
|
||||
z: new Accessor(element, 'z'),
|
||||
width: new Accessor(element, 'width'),
|
||||
height: new Accessor(element, 'height'),
|
||||
x: new AccessorMutator(element, 'x'),
|
||||
y: new AccessorMutator(element, 'y'),
|
||||
z: new AccessorMutator(element, 'z'),
|
||||
width: new AccessorMutator(element, 'width'),
|
||||
height: new AccessorMutator(element, 'height'),
|
||||
remove: function () {
|
||||
if (elements[index] === element) {
|
||||
elements.splice(index, 1);
|
||||
|
Reference in New Issue
Block a user