Skip to content

Adds a headerItem property in case a header is desired for the menu#84

Open
vittoriom wants to merge 3 commits intoromaonthego:masterfrom
vittoriom:feature/menuHeader
Open

Adds a headerItem property in case a header is desired for the menu#84
vittoriom wants to merge 3 commits intoromaonthego:masterfrom
vittoriom:feature/menuHeader

Conversation

@vittoriom
Copy link
Copy Markdown

The headerItem is just a REMenuItem so it's very easy to create one. Moreover, it's just a property on the REMenu instance and it's back-compatible with the existing codebase since when no header is specified, the normal behavior is preserved.

I removed the combinedHeight computed property in favour of a manually set one (this could open the road to different heights for each menuItem - maybe through a dataSource protocol)

@vittoriom vittoriom mentioned this pull request Jul 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant