Vue- horizontal-timeline: Parallel timetable component for Vue.js #.\n\nVue-horizontal-timeline is a simple straight timetable element brought in along with Vue.js (deal with Vue 2 & Vue 3).\nDemonstration.\nCommunicate along with a working Demo on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nGo to https:\/\/vue-horizontal-timeline.netlify.com.\nHow to set up.\nnpm.\n$ npm put in vue-horizontal-timeline-- save.\nanecdote (suggested).\n$ yarn include vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can import in your main.js documents.\nbring in Vue coming from \"vue\".\nbring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr in your area in any part.\n\n' import VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't require the brackets above.\n\nexport nonpayment \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can easily import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' bring in Vue from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand after that import it in your 'nuxt.config.js' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nFundamental use.\n\n\n\n\n\nProps.\nitems.\nKind: Selection.\nNonpayment: null.\nDescription: Array of objects to be actually presented. Should contend least a web content home.\nitem-selected.\nType: Object.\nDefault: {-String.Split- -}\nSummary: Things that is prepared when it is clicked. Note that clickable uphold must be set to accurate.\nitem-unique-key.\nStyle: String.\nDefault: \".\nSummary: Trick to specify a blue border to the memory card when it is actually clicked (clickable.\nuphold must be set to real).\ntitle-attr.\nStyle: Cord.\nDefault: 'label'.\nExplanation: Call of the residential or commercial property inside the items, that reside in the things variety, to place the cards title.\ntitle-centered.\nKind: Boolean.\nNonpayment: misleading.\nClassification: Systematizes the memory cards label.\ntitle-class.\nKind: String.\nNonpayment: \".\nClassification: If you intend to establish a custom class to the memory cards label, set it below.\ntitle-substr.\nKind: String.\nNonpayment: 18.\nDescription: Amount of characters to present inside the cards title. Above this, will set a '...' disguise.\ncontent-attr.\nStyle: String.\nDefault: 'content'.\nDescription: Name of the home inside the items, that are in the things variety, to put the cards information.\ncontent-centered.\nType: Boolean.\nNonpayment: false.\nClassification: Centralizes all the cards content message.\ncontent-class.\nStyle: Strand.\nDefault: \".\nDescription: If you desire to prepare a custom course to the cards information, set it below.\ncontent-substr.\nKind: Cord.\nNonpayment: 250.\nClassification: Variety of characters to show inside the memory cards content. Over this, will put a '...' hide.\nmin-width.\nType: String.\nNonpayment: '200px'.\nClassification: Min-width of the timeline.\nmin-height.\nStyle: Cord.\nDefault: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nKind: Cord.\nDefault: \".\nClassification: Extra padding of the timetable.\ntimeline-background.\nKind: Strand.\nDefault: '#E 9E9E9'.\nDescription: Background color of the whole timeline.\nline-color.\nStyle: String.\nNonpayment: '
03A9F4'.Classification: Color of free throw line inside the timetable.clickable.Type: Boolean.Nonpayment: correct.Description: Helps make the card clickable that returns the things.You can easily additionally modify the measure different colors and the type of each thing making use of the stepCssClass as well as boxCssClass qualities inside each item:.const example1 = title: "Headline example 1",.information:." Lorem ipsum dolor rest amet, consectetur adipiscing elit. Ut ex-spouse dolor, malesuada luctus scelerisque air conditioner, auctor vitae risus. Vivamus risus dolor, faucibus a bibendum quis, facilisis eget odio.",.stepCssClass: 'has-step-green',.boxCssClass: 'has-color-red'..Growth.Keep in mind: Contributions are extremely accepted, however is extremely vital to open a new concern using the problem design template before you start working on anything, so our experts may discuss it before palm.Fork the project as well as enter this commands in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ anecdote.Storybook.For aesthetic screening, this job has storybook which you can function by performing the following demand.$ anecdote storybook.Banter.Before helping make the public relations, if you changed one thing that needs to have to be assessed, satisfy produce the examinations inside the tests/unit folder.To operate the examinations, you can utilize the next demand.$ anecdote exam: device.CSS.All the CSS is at src/assets/css/ style.scss.If you help make any type of modifications because documents, you will certainly need to have to run yarn create to build it, given that the element makes use of the minified variation at src/assets/css/ style.min.css.Commitlint.This job follows the commitlint tips, along with slight adjustments.You can easily devote making use of npm run commit to assist you keeping that.There's a pre-push hook that runs all the system assesses prior to you can easily drive it.If an error happens, you may make use of the npm operate devote: retry command that rushes the previous npm run devote that you currently packed.