openmct/platform/features/layout/src/FixedProxy.js

26 lines
617 B
JavaScript
Raw Normal View History

/*global define*/
define(
[],
function () {
"use strict";
/**
* Proxy for configuring a fixed position view via the toolbar.
* @constructor
* @param configuration the view configuration object
*/
function FixedProxy(configuration) {
return {
/**
* Add a new visual element to this view.
*/
add: function (type) {
window.alert("Placeholder. Should add a " + type + ".");
}
};
}
return FixedProxy;
}
);