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

Github Pages example/documentation is inconsistent with the repository #67

Open
AlbinoDrought opened this issue Apr 24, 2018 · 0 comments

Comments

@AlbinoDrought
Copy link
Contributor

I wanted to change the height of the loading bar.

On the Github Pages link, it says:

Vue.use(VueProgressBar, {
  color: 'rgb(143, 255, 199)',
  failedColor: 'red',
  height: '2px'
})

This didn't work - my bar was staying 2px tall no matter what.

On the Repository, it says:

const options = {
  color: '#bffaf3',
  failedColor: '#874b4b',
  thickness: '5px',
  transition: {
    speed: '0.2s',
    opacity: '0.6s',
    termination: 300
  },
  autoRevert: true,
  location: 'left',
  inverse: false
}

This did work - I could make my bar any height.

Not sure if the docs are outdated (haven't been published in a while), or incorrect, or something else. The Github Pages are linked to from the main repository page: https://github.com/hilongjw/vue-progressbar

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

1 participant