Coder Social home page Coder Social logo

Comments (10)

davicotico avatar davicotico commented on June 14, 2024 1

@emil126a You are right. I am gonna to check the issue. Thanks for the feedback.

from jquery-menu-editor.

davicotico avatar davicotico commented on June 14, 2024 1

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.

davicotico avatar davicotico commented on June 14, 2024 1

Resolved issue.

from jquery-menu-editor.

emil126a avatar emil126a commented on June 14, 2024

@davicotico

from jquery-menu-editor.

emil126a avatar emil126a commented on June 14, 2024

You are welcome @davicotico . Let me know when you fix it. Thanx in advance.

from jquery-menu-editor.

davicotico avatar davicotico commented on June 14, 2024

@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.

emil126a avatar emil126a commented on June 14, 2024

@davicotico I already rated. Thank you

from jquery-menu-editor.

emil126a avatar emil126a commented on June 14, 2024

@davicotico , how can we add sort_order_number to json?

from jquery-menu-editor.

davicotico avatar davicotico commented on June 14, 2024

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.

davicotico avatar davicotico commented on June 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.