SSENSE/vue-carousel

Feature Request: allow pagination and navigation elements to be styled

Open

#78 opened on Aug 17, 2017

View on GitHub
 (10 comments) (7 reactions) (0 assignees)JavaScript (513 forks)batch import
featurehelp wanted

Repository metrics

Stars
 (1,705 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

right now from the parent component, you can style the outer .VueCarousel-navigation and .VueCarousel-pagination, but not the elements:

  • .VueCarousel-navigation-button
  • .VueCarousel-dot

If necessary we can pass in a style like:<carousel :navigationStyle="styleObject"..., but an even better one would be to ensure the inner elements are exposed to styling from the scope of the parent component. I think a careful use of slots in the outer components might resolve this issue.

Contributor guide