{"id":16594559,"url":"https://github.com/hjzheng/angular-mega-menu","last_synced_at":"2025-10-05T22:07:28.876Z","repository":{"id":34879187,"uuid":"38892674","full_name":"hjzheng/angular-mega-menu","owner":"hjzheng","description":"Base on angular-ui/bootstrap and geedmo/yamm3","archived":false,"fork":false,"pushed_at":"2017-06-16T01:59:36.000Z","size":33,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-02T01:11:29.896Z","etag":null,"topics":["angular-ui","angularjs","mega-menu"],"latest_commit_sha":null,"homepage":"http://get-set.cn/angular-mega-menu/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hjzheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-10T17:17:35.000Z","updated_at":"2020-07-05T05:42:06.000Z","dependencies_parsed_at":"2022-08-30T21:31:07.575Z","dependency_job_id":null,"html_url":"https://github.com/hjzheng/angular-mega-menu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjzheng%2Fangular-mega-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjzheng%2Fangular-mega-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjzheng%2Fangular-mega-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjzheng%2Fangular-mega-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjzheng","download_url":"https://codeload.github.com/hjzheng/angular-mega-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238817560,"owners_count":19535554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular-ui","angularjs","mega-menu"],"created_at":"2024-10-11T23:46:38.271Z","updated_at":"2025-10-05T22:07:23.808Z","avatar_url":"https://github.com/hjzheng.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-mega-menu\n\nThis is angular mega menu, base on [angular-ui/bootstrap](https://github.com/angular-ui/bootstrap) dropdown directive and [geedmo/yamm3](https://github.com/geedmo/yamm3).\n\nAngular mega menu is extend from dropdown directive, so you use it just like using dropdown directive.\n\n### How to Use\n- Include JavaScript and CSS.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"bower_components/bootstrap/dist/css/bootstrap.min.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"bower_components/bootstrap/dist/css/bootstrap-theme.min.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"bower_components/yamm3/yamm/yamm.css\"\u003e\n\u003cscript src=\"bower_components/angular/angular.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/angular-bootstrap/ui-bootstrap-tpls.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"src/js/angular-mega-menu.js\"\u003e\u003c/script\u003e\n```\n\n- Configure angular module\n\n```js\nangular.module('test', ['mega-menu']);\n```\n\n- Use bootstrap-ui dropdown directive\n\t- Use dropdown directive.\n\t- **Set `toggle-event` attribute, default value is `'click'`, you can set value `'mouseover'`.**\n\n```html\n...\n\u003cli class=\"dropdown\" uib-dropdown auto-close=\"outsideClick\"\u003e\n\t\u003ca class=\"dropdown-toggle\" uib-dropdown-toggle toggle-event=\"mouseover\" href=\"#\"\u003eClassic\u003cb class=\"caret\"\u003e\u003c/b\u003e\u003c/a\u003e\n\t\u003cul role=\"menu\" class=\"dropdown-menu\"\u003e\n\t\t\u003cli\u003e\u003ca tabindex=\"-1\" href=\"#\"\u003e Action \u003c/a\u003e\u003c/li\u003e\n\t\t\u003cli\u003e\u003ca tabindex=\"-1\" href=\"#\"\u003e Another action \u003c/a\u003e\u003c/li\u003e\n\t\t\u003cli\u003e\u003ca tabindex=\"-1\" href=\"#\"\u003e Something else here \u003c/a\u003e\u003c/li\u003e\n\t\t\u003cli class=\"divider\"\u003e\u003c/li\u003e\n\t\t\u003cli\u003e\u003ca tabindex=\"-1\" href=\"#\"\u003e Separated link \u003c/a\u003e\u003c/li\u003e\n\t\u003c/ul\u003e\n\u003c/li\u003e\n...\n```\n### Example\n\nPlease visit http://get-set.cn/angular-mega-menu/\n\n### How to extend angular directive\n\nYou can refer [Experiment: Decorating Directives](http://angular-tips.com/blog/2013/09/experiment-decorating-directives/) or [My Note](https://github.com/hjzheng/CUF_meeting_knowledge_share/issues/34)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjzheng%2Fangular-mega-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjzheng%2Fangular-mega-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjzheng%2Fangular-mega-menu/lists"}