aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/icon/icon.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/imports/ui/components/icon/icon.js')
-rw-r--r--ui/imports/ui/components/icon/icon.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/ui/imports/ui/components/icon/icon.js b/ui/imports/ui/components/icon/icon.js
new file mode 100644
index 0000000..06010a4
--- /dev/null
+++ b/ui/imports/ui/components/icon/icon.js
@@ -0,0 +1,48 @@
+/////////////////////////////////////////////////////////////////////////////////////////
+// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others /
+// /
+// All rights reserved. This program and the accompanying materials /
+// are made available under the terms of the Apache License, Version 2.0 /
+// which accompanies this distribution, and is available at /
+// http://www.apache.org/licenses/LICENSE-2.0 /
+/////////////////////////////////////////////////////////////////////////////////////////
+/*
+ * Template Component: Icon
+ */
+
+//import { Meteor } from 'meteor/meteor';
+import { Template } from 'meteor/templating';
+//import { ReactiveDict } from 'meteor/reactive-dict';
+
+import './icon.html';
+
+/*
+ * Lifecycles
+ */
+
+Template.Icon.onCreated(function() {
+});
+
+/*
+Template.Icon.rendered = function() {
+};
+*/
+
+/*
+ * Events
+ */
+
+Template.Icon.events({
+});
+
+/*
+ * Helpers
+ */
+
+Template.Icon.helpers({
+ iconType: function (type, targetType) {
+ return type === targetType;
+ }
+});
+
+