Skip to content

Menubar: Allow structures other than just UL/LI and combine the _next, _prev, _right and _left into _move #541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 7, 2011

Conversation

kborchers
Copy link
Member

Menubar: Allow structures other than just UL/LI and combine the _next, _prev, _right and _left into _move

kborchers and others added 2 commits October 19, 2011 13:59
…od called _move and then created next and previous public methods that call _move. Very similar to how Menu handles keyboard interaction.
@@ -53,7 +57,8 @@ $.widget( "ui.menubar", {
// TODO what is this targetting? there's probably a better way to access it
$(event.target).prev().focus();
that._trigger( "select", event, ui );
}
},
items: that.options.menuElement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a mismatch here - do we need to rename Menu's items option to menus or something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would probably make more sense, I was just trying to stick with the items option that we use on other widgets but it probably isn't the best choice here.

@kborchers
Copy link
Member Author

Anyone else have input on this before I merge it?

@kborchers
Copy link
Member Author

@jzaefferer, @scottgonzalez, @gnarf, @fnagel Anyone else have comments? If not, I would like to merge this today.

@kborchers
Copy link
Member Author

@fnagel I just realized this doesn't effect you, sorry. Working on menu and menubar at the same time.

kborchers added a commit that referenced this pull request Dec 7, 2011
Menubar: Allow structures other than just UL/LI and combine the _next, _prev, _right and _left into _move
@kborchers kborchers merged commit 1748b5f into jquery:master Dec 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants