Onsen UI 2 - ons-sliding-menu is now ons-splitter ?
I like the style the ons-sliding-menu works in Onsen UI 1. But when I want to do it the UI 2 way, I have to use ons-splitter, right?
It just behaves in a new way, so the menu sliding from the left, on top of the main view. The ons-sliding-menu slides in, but bumps the
main view to the right.
To make it short:
Is is the proper way to use ons-splitter for UI 2?
If you are using AngularJS in Onsen UI 2.0 you can still use
ons-sliding-menu. It is implemented as an angular directive there for backwards compatibility. However, there is no core component for that.
ons-splitterdoes the same as
ons-split-viewat the same time. The only difference that you can see is the animation. I guess we will port the old sliding menu animations to the splitter but for now only the default one is available.
ons-splitteris the proper way to have a menu in Onsen UI 2 in general.
This post is deleted!