Skip to content

2.x Introduce target method for MenuItem#1715

Merged
jarednova merged 2 commits into2.xfrom
2.x-menu-item-target-optimizations
May 29, 2018
Merged

2.x Introduce target method for MenuItem#1715
jarednova merged 2 commits into2.xfrom
2.x-menu-item-target-optimizations

Conversation

@gchtr
Copy link
Copy Markdown
Member

@gchtr gchtr commented May 17, 2018

Ticket: #1629 and #1701

Issue

Picking up on the discussion that we had in #1701 whether it would make sense to have an item.target method.

Solution

  • Added a new method item.target for menu items that can be used instead of item.is_target_blank and adds a little more flexibility for developers.
  • Updated documentation for menu items. See the updates to the menu guide for what’s possible.

Impact

None.

Usage Changes

Makes handling menu item targets more versatile.

Testing

Yes. I added tests, they ran successfully.

@jarednova
Copy link
Copy Markdown
Member

Thanks @gchtr! I think this one is sufficiently covered now. Merging and closing #1629

@jarednova jarednova merged commit a0c25b7 into 2.x May 29, 2018
jarednova added a commit that referenced this pull request May 30, 2018
@gchtr gchtr deleted the 2.x-menu-item-target-optimizations branch January 3, 2019 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants