Skip to content

jQuery Icon Support #129

Closed
Closed
@patrickhousley

Description

@patrickhousley

jQuery UI has a great selection of icons that could be used with the menu entries. However, your plugin does not support these icons out of the box. I have included the changes I make below in hopes of having this as the default icon support in this plugin.

line 1078 change if block to:

// add icons
if (item.icon) {
     $('<span></span>', {
          'class' : 'ui-icon ui-icon-' + item.icon,
     }).prependTo($t);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions