Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / static / examples / icon_buttons.js
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/static/examples/icon_buttons.js b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/icon_buttons.js
new file mode 100644 (file)
index 0000000..a7b27fc
--- /dev/null
@@ -0,0 +1,14 @@
+$.mockjax({
+    url: '*',
+    response: function(options) {
+        this.responseText = ExampleData.example_data;
+    },
+    responseTime: 0
+});
+
+$(function() {
+    $('#tree1').tree({
+        closedIcon: $('<i class="fa fa-arrow-circle-right"></i>'),
+        openedIcon: $('<i class="fa fa-arrow-circle-down"></i>')
+    });
+});