-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathController.js
37 lines (37 loc) · 1.33 KB
/
Controller.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* File created by Kenneth Apeland 04.04.18.
*/
///<reference path="View.ts"/>
var controller = /** @class */ (function () {
function controller() {
}
controller.prototype.lowerElements = function (elems) {
viewer.lowerElements(elems);
};
controller.prototype.setPivotElement = function (index) {
viewer.setPivotElement(index);
};
controller.prototype.deselectPivotElement = function (index) {
viewer.deselectPivotElement(index);
};
controller.prototype.moveElementToPlace = function (element, px, back) {
viewer.moveElementToPlace(element, px, back);
};
controller.prototype.moveElementsToPlace = function (element, px, back) {
viewer.moveElementsToPlace(element, px, back);
};
controller.prototype.setColorInArrayElement = function (index, color) {
viewer.setColorInArrayElement(index, color);
};
controller.prototype.setColorInArrayElements = function (index, color) {
viewer.setColorInArrayElements(index, color);
};
controller.prototype.setPause = function () {
viewer.setPause();
};
controller.prototype.setColorInMultipleArrays = function (left, color1, right, color2) {
viewer.setColorInMultipleArrays(left, color1, right, color2);
};
return controller;
}());
var control = new controller();