Vue- horizontal-timeline: Straight timeline component for Vue.js #.\n\nVue-horizontal-timeline is a straightforward straight timetable element made with Vue.js (partner with Vue 2 & Vue 3).\nDemonstration.\nSocialize with an operating Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nHow to install.\nnpm.\n$ npm put up vue-horizontal-timeline-- spare.\nyarn (highly recommended).\n$ yarn include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou may import in your main.js data.\nbring in Vue from \"vue\".\nbring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr in your area in any type of element.\n\n' bring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you do not need the brackets above.\n\nexport nonpayment \nelements: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou may import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' bring in 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' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nStandard utilization.\n\n\n\n\n\nProps.\nthings.\nType: Collection.\nNonpayment: null.\nDescription: Selection of objects to be actually shown. Have to contend minimum a material home.\nitem-selected.\nType: Item.\nNonpayment: {-String.Split- -}\nExplanation: Object that is actually prepared when it is actually clicked on. Note that clickable uphold must be actually set to correct.\nitem-unique-key.\nType: Strand.\nNonpayment: \".\nExplanation: Secret to establish a blue perimeter to the card when it is clicked (clickable.\nuphold need to be set to correct).\ntitle-attr.\nKind: Strand.\nDefault: 'title'.\nDescription: Call of the building inside the objects, that are in the products assortment, to put the cards title.\ntitle-centered.\nKind: Boolean.\nNonpayment: misleading.\nClassification: Systematizes the memory cards title.\ntitle-class.\nType: Cord.\nNonpayment: \".\nClassification: If you want to specify a custom class to the cards headline, set it here.\ntitle-substr.\nStyle: Strand.\nDefault: 18.\nClassification: Number of figures to show inside the memory cards title. Over this, are going to establish a '...' disguise.\ncontent-attr.\nKind: Cord.\nNonpayment: 'material'.\nExplanation: Call of the residential or commercial property inside the objects, that remain in the items variety, to put the cards information.\ncontent-centered.\nStyle: Boolean.\nDefault: untrue.\nClassification: Systematizes all the cards content text message.\ncontent-class.\nKind: Cord.\nNonpayment: \".\nDescription: If you wish to specify a custom-made lesson to the cards web content, specified it listed here.\ncontent-substr.\nType: Strand.\nDefault: 250.\nDescription: Number of personalities to present inside the memory cards content. Above this, will definitely place a '...' hide.\nmin-width.\nStyle: Strand.\nDefault: '200px'.\nDescription: Min-width of the timetable.\nmin-height.\nType: Cord.\nDefault: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nType: String.\nDefault: \".\nDescription: Padding of the timeline.\ntimeline-background.\nKind: String.\nNonpayment: '#E 9E9E9'.\nDescription: Background shade of the entire timetable.\nline-color.\nStyle: String.\nNonpayment: '
03A9F4'.Description: Different colors of the line inside the timeline.clickable.Style: Boolean.Nonpayment: real.Summary: Creates the card clickable that returns the item.You can additionally change the action color and also the type of each product making use of the stepCssClass and boxCssClass attributes inside each product:.const example1 = headline: "Label example 1",.information:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex dolor, malesuada luctus scelerisque ac, auctor vitae risus. Vivamus risus dolor, faucibus a bibendum quis, facilisis eget odio.",.stepCssClass: 'has-step-green',.boxCssClass: 'has-color-red'..Development.Take note: Additions are actually very invited, nonetheless is actually extremely crucial to open up a brand-new problem using the problem layout before you begin working with everything, so our experts may review it just before hand.Fork the task and also enter this regulates in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ anecdote.Storybook.For visual screening, this venture has storybook which you may operate by carrying out the upcoming demand.$ yarn storybook.Banter.Prior to helping make the public relations, if you transformed something that needs to become checked, feel free to help make the tests inside the tests/unit directory.To run the tests, you can make use of the following command.$ yarn test: system.CSS.All the CSS is at src/assets/css/ style.scss.If you help make any type of changes because file, you will definitely require to run anecdote develop to create it, due to the fact that the component utilizes the minified variation at src/assets/css/ style.min.css.Commitlint.This project follows the commitlint rules, with minor improvements.You can dedicate using npm run commit to aid you with that.There is actually a pre-push hook that dashes all the unit examines before you can easily press it.If an error occurs, you can easily utilize the npm run devote: retry demand that jogs the previous npm run commit that you currently loaded.