Vue- horizontal-timeline: Straight timeline component for Vue.js #.\n\nVue-horizontal-timeline is a simple parallel timeline component brought in with Vue.js (works with Vue 2 & Vue 3).\nDemonstration.\nCommunicate with a functioning Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nMost likely to https:\/\/vue-horizontal-timeline.netlify.com.\nHow to set up.\nnpm.\n$ npm mount vue-horizontal-timeline-- save.\nanecdote (suggested).\n$ anecdote include vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can easily import in your main.js documents.\nimport Vue from \"vue\".\nbring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr in your area in any kind of element.\n\n' import VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need to have the brackets over.\n\nexport nonpayment \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' bring in Vue coming from \"vue\".\nbring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand then import it in your 'nuxt.config.js' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nFundamental use.\n\n\n\n\n\nProps.\nproducts.\nKind: Range.\nDefault: null.\nDescription: Array of objects to be actually presented. Should have at least a material residential or commercial property.\nitem-selected.\nStyle: Object.\nNonpayment: {-String.Split- -}\nExplanation: Item that is prepared when it is actually clicked. Keep in mind that clickable set should be readied to true.\nitem-unique-key.\nStyle: String.\nNonpayment: \".\nSummary: Trick to specify a blue boundary to the memory card when it is actually clicked on (clickable.\nuphold should be readied to true).\ntitle-attr.\nKind: String.\nDefault: 'headline'.\nSummary: Name of the property inside the objects, that reside in the products assortment, to put the cards headline.\ntitle-centered.\nKind: Boolean.\nDefault: untrue.\nDescription: Centralizes the memory cards title.\ntitle-class.\nKind: String.\nDefault: \".\nDescription: If you wish to establish a personalized lesson to the cards label, specified it right here.\ntitle-substr.\nKind: Cord.\nDefault: 18.\nClassification: Lot of figures to present inside the cards headline. Above this, are going to place a '...' cover-up.\ncontent-attr.\nStyle: Cord.\nDefault: 'content'.\nDescription: Name of the property inside the objects, that reside in the things assortment, to place the cards content.\ncontent-centered.\nStyle: Boolean.\nNonpayment: untrue.\nDescription: Streamlines all the memory cards satisfied message.\ncontent-class.\nKind: Cord.\nDefault: \".\nClassification: If you desire to set a personalized class to the memory cards information, set it listed below.\ncontent-substr.\nType: Strand.\nDefault: 250.\nDescription: Amount of personalities to show inside the memory cards material. Over this, will put a '...' face mask.\nmin-width.\nKind: Strand.\nDefault: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nType: Cord.\nNonpayment: \".\nDescription: Min-height of the timetable.\ntimeline-padding.\nStyle: Strand.\nDefault: \".\nClassification: Extra padding of the timeline.\ntimeline-background.\nKind: Cord.\nDefault: '#E 9E9E9'.\nDescription: History different colors of the whole timeline.\nline-color.\nType: String.\nNonpayment: '
03A9F4'.Classification: Colour of free throw line inside the timetable.clickable.Kind: Boolean.Nonpayment: true.Description: Makes the card clickable that returns the item.You can easily additionally modify the measure shade as well as the style of each item utilizing the stepCssClass and boxCssClass qualities inside each thing:.const example1 = headline: "Headline example 1",.content:." Lorem ipsum dolor rest amet, consectetur adipiscing elit. Ut ex lover dolor, malesuada luctus scelerisque hvac, auctor vitae risus. Vivamus risus dolor, faucibus a bibendum quis, facilisis eget odio.",.stepCssClass: 'has-step-green',.boxCssClass: 'has-color-red'..Development.Keep in mind: Payments are actually quite welcomed, having said that is incredibly important to open up a new problem making use of the issue layout before you begin working with everything, so our team may review it just before hand.Fork the venture and also enter this commands in your terminal.$ git duplicate https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ anecdote.Storybook.For aesthetic testing, this task contains storybook which you may work through carrying out the upcoming order.$ yarn storybook.Jest.Just before helping make the public relations, if you modified one thing that requires to become evaluated, feel free to help make the examinations inside the tests/unit directory.To run the tests, you may use the upcoming order.$ anecdote examination: device.CSS.All the CSS goes to src/assets/css/ style.scss.If you create any modifications in that report, you will certainly need to have to run anecdote build to create it, because the element uses the minified version at src/assets/css/ style.min.css.Commitlint.This job follows the commitlint suggestions, along with minor changes.You can commit making use of npm operate dedicate to help you with that.There is actually a pre-push hook that runs all the unit checks just before you can press it.If an error happens, you can utilize the npm run commit: retry command that runs the previous npm run dedicate that you presently filled up.