Skip to content

add height option#22

Open
samehdoush wants to merge 1 commit intoinertiajs:masterfrom
samehdoush:master
Open

add height option#22
samehdoush wants to merge 1 commit intoinertiajs:masterfrom
samehdoush:master

Conversation

@samehdoush
Copy link

So that we can control the height of the bar without using css

InertiaProgress.init({
  // The delay after which the progress bar will
  // appear during navigation, in milliseconds.
  delay: 250,

  // The color of the progress bar.
  color: '#29d',

  // Whether to include the default NProgress styles.
  includeCSS: true,

  // Whether the NProgress spinner will be shown.
  showSpinner: false,

  // The height of the progress bar.
  height : '2px',
})

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

Successfully merging this pull request may close these issues.

1 participant