百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

jquery-menu-editor

> 编程语言
开源

适用于 Bootstrap 4.x 的多级菜单编辑器 (Html & JavaScript 代码)

199 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

适用于 Bootstrap 4.x 的多级菜单编辑器 (Html & JavaScript 代码)

jQuery Menu Editor 1.1.1

>>> DEMO

>> NEW: Vanilla Javascript Menu Editor

>> Tutorial en Español

Features

  • Add, Update & Remove items from Menu
  • Multilevel Drag & Drop
  • Form Item Editor
  • Include IconPicker Plugin (https://victor-valencia.github.io/bootstrap-iconpicker)
  • Support for mobile devices
  • Load data from JSON string
  • The output is a JSON string

This project is based on jQuery-Sortable-lists (v1.4.0) http://camohub.github.io/jquery-sortable-lists/index.html and added many features.

Documentation

Requirements

  • Bootstrap 4.x
  • jQuery >= 3.x
  • Fontawesome 5.3.1
  • Bootstrap Iconpicker 1.10.0

How to use

Include the Css and scripts

xml

Creating the Drag & Drop list

xml

Creating the form

  • The inputs for items should be have the class="item-menu"
  • The icon picker should be have the id=[LIST_ID]+"_icon"
xml

        

        
        
        
        

        

        

        
        
    

Create and Setting the MenuEditor object

…

Load data from a Json

We have the method setData:

javascript
var arrayjson = [{"href":"http://home.com","icon":"fas fa-home","text":"Home", "target": "_top", "title": "My Home"},{"icon":"fas fa-chart-bar","text":"Opcion2"},{"icon":"fas fa-bell","text":"Opcion3"},{"icon":"fas fa-crop","text":"Opcion4"},{"icon":"fas fa-flask","text":"Opcion5"},{"icon":"fas fa-map-marker","text":"Opcion6"},{"icon":"fas fa-search","text":"Opcion7","children":[{"icon":"fas fa-plug","text":"Opcion7-1","children":[{"icon":"fas fa-filter","text":"Opcion7-1-1"}]}]}];
editor.setData(arrayJson);

Output

We have the function getString

javascript
var str = editor.getString();
$("#myTextarea").text(str);

Issues· 5 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptjqueryjquery-pluginmenumenu-builder

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言