Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Add classes attributes to set button and pagination color using Swiper css #53

Closed
benjaminlong opened this issue Apr 20, 2017 · 1 comment

Comments

@benjaminlong
Copy link

Adding attributes 'paginationCls' and 'navigationCls' would allow us to use Swiper css classes ('.swiper-pagination-white' and '.swiper-button-white') to set pagination/button colors.

See how swiper use them in its demo: https://github.com/nolimits4web/Swiper/blob/master/demos/16-effect-fade.html#L46
screen shot 2017-04-20 at 3 53 56 pm

See: benjaminlong@852722c

Following an exemple to create a swiper-container with white pagination/buttons:

{{#swiper-container
    paginationCls='swiper-pagination-white'
    pagination=true
    paginationClickable=true
    navigation=true
    navigationCls='swiper-button-white' }}
...
{{/swiper-container}}

I haven't been able to run ember test though. But it works as expected.

@Matt-Jensen
Copy link
Contributor

Closed by #73

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

No branches or pull requests

2 participants