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

Control over Arrow buttons disabled state #62

Closed
nabeelsalam opened this issue Jul 6, 2018 · 4 comments
Closed

Control over Arrow buttons disabled state #62

nabeelsalam opened this issue Jul 6, 2018 · 4 comments

Comments

@nabeelsalam
Copy link

Currently the library just applies display: none to the arrow at the start and end of the slide.

It would be better to apply a class according to the state and let the user customize the functionality.

Ex: I'm trying to show a disabled (grayed out) arrow for these cases. Currently this is not possible.

@sheikalthaf
Copy link
Collaborator

sheikalthaf commented Jul 11, 2018

Hi @nabeelsalam ,

In beta version it is possible to customize buttons and points. please try this link
Also check this this repo how to use it

@Eygle
Copy link

Eygle commented Jul 15, 2018

Hi @sheikalthaf ,

I didn't find any information relative to buttons customization in your link.
I also went to the source code (v1.4.9-beta-2/src/app/carousel/ngu-carousel/ngu-carousel.component.ts) to see any changes but the buttonControl method is still applying a display block or none on buttons.

Can you be more specific about this option? Thanks!

@torontocode
Copy link

Yes - it's not very clear how to do this from the link.
Another option would be to expose data.isFirst and data.isLast to the template so we can handle any customization ourselves.

@sheikalthaf
Copy link
Collaborator

@Eygle @torontocode Please check with latest version of the carousel. Also check the stackblitz for implementation link

This issue was closed.
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

4 participants