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

allow custom css for pagaination #14

Closed
kitmoovup opened this issue Jan 8, 2019 · 1 comment
Closed

allow custom css for pagaination #14

kitmoovup opened this issue Jan 8, 2019 · 1 comment

Comments

@kitmoovup
Copy link

It is better to allow people to custom the pagination component

@ismail9k
Copy link
Contributor

ismail9k commented Jan 9, 2019

The style of pagination is up to you, Hooper shipped with a default styling, however, you can easily overwrite it using your custom CSS styling.
Moreover, if you want to use a custom icon for the hooper-navigation addon component you can use named slots hooper-next and hooper-prev.

  <hooper :settings="hooperSettings">
    <slide>
      slide 1
    </slide>
    ...

    <hooper-navigation slot="hooper-addons">
        <svg slot="hooper-next">
            <path d="...">
        </svg>

        <svg slot="hooper-prev">
            <path d="...">
        </svg>
    </hooper-navigation>
  </hooper>

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

No branches or pull requests

2 participants