Menus wip
This commit is contained in:
@@ -29,6 +29,10 @@ class EditorMenu {
|
||||
$scope.callback()(editor);
|
||||
}
|
||||
|
||||
$scope.moreEditors = function() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user