OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
import { Controller } from '@hotwired/stimulus';
import { MainMenuToggleService } from 'core-app/core/main-menu/main-menu-toggle.service';
export default class MainToggleController extends Controller {
mainMenuService:MainMenuToggleService;
async connect() {
await window.OpenProject.getPluginContext()
.then((pluginContext) => pluginContext.injector.get(MainMenuToggleService))
.then((service) => {
this.mainMenuService = service;
this.mainMenuService.initializeMenu();
});
}
toggleNavigation(e:Event) {
this.mainMenuService.toggleNavigation(e);
}
}