Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] "Better" previous next #37

Closed
ellisgl opened this issue Jun 1, 2017 · 4 comments
Closed

[Feature] "Better" previous next #37

ellisgl opened this issue Jun 1, 2017 · 4 comments

Comments

@ellisgl
Copy link

ellisgl commented Jun 1, 2017

I would like to see a feature that would mimic the "previous/next" icons like the following ui frameworks:
http://element.eleme.io/#/en-US/component/tabs
http://jqwidgets.com/jquery-widgets-demo/demos/jqxtabs/index.htm
http://examples.sencha.com/extjs/6.5.0/examples/kitchensink/?classic#basic-tabs

@elboletaire
Copy link
Owner

Sorry, I don't get this. This plugin actually has next and prev functionality. What do you mean with mimic the "previous/next" icons like in that ui frameworks??

@elboletaire
Copy link
Owner

BTW, the next and prev tabs styling and icons are up to you. This plugin has the next and prev actions as API actions, so you can define them as you want.

@ellisgl
Copy link
Author

ellisgl commented Jun 1, 2017

In some of the other example I showed you, "Previous/Next" show up as left right arrows on the left and right side of the tab bar. Also the icons don't show up until the tab bar goes into overflow.

@elboletaire
Copy link
Owner

elboletaire commented Jun 1, 2017

As I answered before in #19, as you can style the tabs as you want, is up to you if you wanna add some kind of tabs overflow/pagination/scroll plugin to the tabs.

Adding #35 and #36 will be enough to get something similar to the examples you paste (obviously you'll need to select and add your own plugin for the tabs overflow).

I don't want to have this in this plugin, as it would heavily increase the library size and isn't something everyone wants. You better add the plugin you want and style the tabs as required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants