Sliding two containers up/down

Hello all.
New to Ionic.
I’d appreciate any guidance on how to use the UI components to achieve the following functionality:
I’d like two containers of content splitting the screen: one op top, the other below.
Between them, I’d like to offer a horizontal thin element (line?) that serves as a slider the user can drag up or down to change the ratio of the two containers.
Sliding it up - the bottom container grows and the top container shrinks - and the other way around.
Each container is a whole world of controls and UI elements in its own.
How can I achieve this with existing components?