Vue- horizontal-timeline: Parallel timeline component for Vue.js #.\n\nVue-horizontal-timeline is actually an easy horizontal timetable element made along with Vue.js (collaborate with Vue 2 & Vue 3).\nDemo.\nEngage with a functioning Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nExactly how to set up.\nnpm.\n$ npm put up vue-horizontal-timeline-- spare.\nanecdote (advised).\n$ yarn include vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can import in your main.js report.\nbring in Vue from \"vue\".\nbring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even locally in any sort of element.\n\n' import VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you do not need the braces over.\n\nexport default \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' import Vue coming from \"vue\".\nbring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand then import it in your 'nuxt.config.js' file.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nGeneral use.\n\n\n\n\n\nProps.\nproducts.\nKind: Collection.\nNonpayment: null.\nDescription: Selection of challenge be presented. Have to contend least a content residential or commercial property.\nitem-selected.\nStyle: Things.\nDefault: {-String.Split- -}\nExplanation: Object that is set when it is clicked on. Note that clickable set should be actually readied to correct.\nitem-unique-key.\nKind: String.\nDefault: \".\nSummary: Secret to specify a blue perimeter to the card when it is clicked on (clickable.\nuphold need to be actually readied to true).\ntitle-attr.\nStyle: Strand.\nNonpayment: 'label'.\nExplanation: Call of the property inside the objects, that remain in the items array, to set the cards headline.\ntitle-centered.\nType: Boolean.\nDefault: misleading.\nDescription: Streamlines the memory cards headline.\ntitle-class.\nType: String.\nDefault: \".\nDescription: If you would like to establish a custom-made lesson to the cards headline, prepared it here.\ntitle-substr.\nKind: String.\nNonpayment: 18.\nDescription: Lot of figures to feature inside the cards label. Above this, will place a '...' hide.\ncontent-attr.\nType: Strand.\nNonpayment: 'content'.\nExplanation: Call of the residential or commercial property inside the things, that remain in the items array, to set the cards information.\ncontent-centered.\nType: Boolean.\nDefault: incorrect.\nClassification: Systematizes all the cards satisfied message.\ncontent-class.\nType: String.\nNonpayment: \".\nClassification: If you intend to establish a customized course to the cards information, set it right here.\ncontent-substr.\nType: Cord.\nNonpayment: 250.\nDescription: Number of characters to display inside the cards web content. Over this, will certainly set a '...' cover-up.\nmin-width.\nKind: Strand.\nNonpayment: '200px'.\nDescription: Min-width of the timeline.\nmin-height.\nType: Strand.\nDefault: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nType: String.\nNonpayment: \".\nDescription: Stuffing of the timeline.\ntimeline-background.\nStyle: Strand.\nNonpayment: '#E 9E9E9'.\nClassification: History shade of the entire timeline.\nline-color.\nStyle: Chain.\nNonpayment: '
03A9F4'.Classification: Different colors of free throw line inside the timetable.clickable.Type: Boolean.Nonpayment: correct.Summary: Makes the memory card clickable that returns the things.You can easily likewise modify the measure shade and the design of each thing making use of the stepCssClass and boxCssClass qualities inside each product:.const example1 = title: "Title example 1",.information:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex dolor, malesuada luctus scelerisque a/c, auctor vitae risus. Vivamus risus dolor, faucibus a bibendum quis, facilisis eget odio.",.stepCssClass: 'has-step-green',.boxCssClass: 'has-color-red'..Development.Note: Additions are actually extremely welcomed, having said that is quite important to open a brand new concern making use of the issue template just before you begin working on anything, so our company may review it just before hand.Fork the venture and also enter this influences in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ anecdote.Storybook.For aesthetic testing, this project includes storybook which you can operate by performing the next order.$ yarn storybook.Jest.Just before producing the PR, if you modified one thing that needs to become assessed, please help make the examinations inside the tests/unit directory.To run the tests, you can easily make use of the upcoming command.$ anecdote test: device.CSS.All the CSS goes to src/assets/css/ style.scss.If you create any sort of adjustments during that data, you will certainly require to run yarn construct to create it, because the part utilizes the minified variation at src/assets/css/ style.min.css.Commitlint.This job observes the commitlint tips, with minor modifications.You can dedicate using npm operate devote to assist you with that.There's a pre-push hook that jogs all the unit assesses prior to you may push it.If an inaccuracy occurs, you can easily utilize the npm run commit: retry demand that dashes the previous npm operate dedicate that you presently packed.