ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.09k stars 13.51k forks source link

slide-box vertical slide #1415

Closed TakkuzOld closed 10 years ago

TakkuzOld commented 10 years ago

By now slide-box only works horizontally.
It would be useful if it could slide also vertically by adding an attribute.

CoenWarmer commented 10 years ago

+1

eliabruni commented 10 years ago

+1

dirkpostma commented 10 years ago

+1

reason: to be able to use slidemenu and slidebox at same time. Using slidebox and slidemenu at same time is difficult because they both react on horizontal swipes. If one of them reacts to horizontal swipes and the other to vertical, they can be used at same time!

CoenWarmer commented 10 years ago

++1 ;)

lazaruslarue commented 10 years ago

This would be awesome :)

jtomaszewski commented 10 years ago

+1

jtomaszewski commented 10 years ago

I just cloned a ionic.views.Slider and slideBox directive into ionic.views.verticalSlider and verticalSlideBox and just renamed all the "x, y, left, right" strings into "y, x, top, bottom". It works correctly ;)

So seems like the only thing we need here is to just pass in some parameter (and add support for it) that switches the slidebox into horizontal/vertical mode. Maybe I'll work on it if I have some spare time ;p

gancezhzhu commented 10 years ago

+1

StefanFeser commented 10 years ago

+1

adzialocha commented 10 years ago

+1

perrygovier commented 10 years ago

Moving feature requests from GH Issues to Trello. Please continue the discussion here. Note, you can vote ;) https://trello.com/c/lxwGslnD/32-slide-box-vertical-slide

rajeshwarpatlolla commented 9 years ago

Have a look at this link https://github.com/nolimits4web/Swiper I tried and it's working fine.

drastick commented 9 years ago

+1

bastengao commented 9 years ago

+1

josh256 commented 8 years ago

+1

mlynch commented 8 years ago

We just added swiper support so if it works with swiper it'll work with Ionic. Use the new and components

egvrcn commented 8 years ago

+1

wal-nadeem commented 8 years ago

+1