Comments (10)
@emil126a You are right. I am gonna to check the issue. Thanks for the feedback.
from jquery-menu-editor.
Right now the repository was updated with new methods and improves.
The documentation is not updated yet. Please see the demo source code.
More flexibility for menu items:
Attributes can be added to item menu in the json. i.e. [{"text":"Home", "href": "#", ....."another" : "somevalue"}...]
So, the form should be have an input with the name "another" and the class="item-menu". All the inputs in the form should be have the class="item-menu". See the demo source code.
from jquery-menu-editor.
Resolved issue.
from jquery-menu-editor.
from jquery-menu-editor.
You are welcome @davicotico . Let me know when you fix it. Thanx in advance.
from jquery-menu-editor.
@emil126a
The repo is fixed and updated with new features.
The documentation is not updated yet. The demo is updated.
Please rate the repository, that helps me a lot to show my work. I'm looking for a job.
Have a good day.
from jquery-menu-editor.
@davicotico I already rated. Thank you
from jquery-menu-editor.
@davicotico , how can we add sort_order_number to json?
from jquery-menu-editor.
Attributes can be added to item menu in the json. i.e. [{"text":"Home", "href": "#", ....."another" : "somevalue"}...]
So, the form should be have an input with the name mnu_another (prefix 'mnu_')
I gonna to improve this feature. I am thinking to use a class="item-menu" instead of prefix 'mnu_' and include a public method to update the item from the form.
from jquery-menu-editor.
@emil126a The updateItem method is restricted for now. Are allowed only attributes: text, icon, href, title, target. The next update are coming with improves about that.
from jquery-menu-editor.
Related Issues (20)
- Limit to only one level submenu (Parent - child) HOT 2
- full example php pdo insert or update ? HOT 3
- Menu starting as everyone had children HOT 2
- How should I take the position values ? HOT 3
- How to allow only one level of nesting? HOT 3
- touch start event Error. HOT 1
- drag only in menu HOT 2
- Improve programmatic control of the menu HOT 1
- .net core example
- Open to licence change? HOT 2
- Double deleting confirmation with 2 menu editors on page HOT 6
- Disable drag and remove buttons HOT 1
- Disable drag and drop HOT 1
- Broken with Bootstrap5 HOT 4
- unfold everything and remove fold/unfold buttons
- Add additional attributes to an item HOT 1
- Move menu item to top/bottom of the list
- Radio button groups do not work
- Stop drag level HOT 3
- Menu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-menu-editor.