diff --git a/platform/commonUI/browse/res/templates/browse.html b/platform/commonUI/browse/res/templates/browse.html
index f7faeede26..db8d015ac8 100644
--- a/platform/commonUI/browse/res/templates/browse.html
+++ b/platform/commonUI/browse/res/templates/browse.html
@@ -2,7 +2,7 @@
diff --git a/platform/commonUI/general/bundle.json b/platform/commonUI/general/bundle.json
index 00e73a1568..58ba7c61f1 100644
--- a/platform/commonUI/general/bundle.json
+++ b/platform/commonUI/general/bundle.json
@@ -84,6 +84,10 @@
"key": "GetterSetterController",
"implementation": "controllers/GetterSetterController.js",
"depends": [ "$scope" ]
+ },
+ {
+ "key": "SplitPaneController",
+ "implementation": "controllers/SplitPaneController.js"
}
],
"directives": [
@@ -108,6 +112,10 @@
"key": "accordion",
"templateUrl": "templates/containers/accordion.html",
"attributes": [ "title" ]
+ },
+ {
+ "key": "splitter",
+ "templateUrl": "templates/containers/split-pane.html"
}
],
"representations": [
diff --git a/platform/commonUI/general/res/templates/containers/split-pane.html b/platform/commonUI/general/res/templates/containers/split-pane.html
new file mode 100644
index 0000000000..05dc2a5df3
--- /dev/null
+++ b/platform/commonUI/general/res/templates/containers/split-pane.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/platform/commonUI/general/src/controllers/SplitPaneController.js b/platform/commonUI/general/src/controllers/SplitPaneController.js
new file mode 100644
index 0000000000..0f7b314f13
--- /dev/null
+++ b/platform/commonUI/general/src/controllers/SplitPaneController.js
@@ -0,0 +1,36 @@
+/*global define*/
+
+define(
+ [],
+ function () {
+ "use strict";
+
+ function SplitPaneController() {
+ var minimum = 8,
+ maximum = 600,
+ current = 200,
+ style;
+
+ function updateStyle() {
+ style = { left: current + 'px' };
+ }
+
+ updateStyle();
+
+ return {
+ style: function () {
+ return style;
+ },
+ move: function (delta) {
+ current = Math.min(
+ maximum,
+ Math.max(minimum, current + delta)
+ );
+ updateStyle();
+ }
+ };
+ }
+
+ return SplitPaneController;
+ }
+);
\ No newline at end of file