Menus wip

This commit is contained in:
Mo Bitar
2018-01-05 19:35:02 -06:00
parent a01067220c
commit aabdb73c77
11 changed files with 278 additions and 430 deletions

View File

@@ -29,6 +29,10 @@ class EditorMenu {
$scope.callback()(editor);
}
$scope.moreEditors = function() {
}
}
}

View File

@@ -0,0 +1,20 @@
class MenuRow {
constructor() {
this.restrict = "E";
this.transclude = true;
this.templateUrl = "frontend/directives/menu-row.html";
this.scope = {
circle: "=",
title: "=",
subtite: "="
};
}
controller($scope, componentManager) {
'ngInject';
}
}
angular.module('app.frontend').directive('menuRow', () => new MenuRow);