Vue- horizontal-timeline: Parallel timetable part for Vue.js #.\n\nVue-horizontal-timeline is a basic straight timetable component made along with Vue.js (collaborate with Vue 2 & Vue 3).\nTrial.\nConnect with an operating Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nExactly how to put in.\nnpm.\n$ npm put up vue-horizontal-timeline-- spare.\nyarn (highly recommended).\n$ yarn add vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can import in your main.js file.\nbring in Vue from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even in your area in any sort of part.\n\n' import VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need the brackets above.\n\nexport default \ncomponents: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can easily import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' import Vue from \"vue\".\nbring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand then import it in your 'nuxt.config.js' data.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nSimple consumption.\n\n\n\n\n\nProps.\nitems.\nKind: Selection.\nNonpayment: null.\nSummary: Range of challenge be presented. Have to contend minimum an information residential or commercial property.\nitem-selected.\nStyle: Things.\nDefault: {-String.Split- -}\nDescription: Item that is established when it is actually clicked. Take note that clickable set must be actually set to real.\nitem-unique-key.\nKind: String.\nNonpayment: \".\nSummary: Secret to establish a blue perimeter to the card when it is actually clicked (clickable.\nset should be set to real).\ntitle-attr.\nType: String.\nDefault: 'headline'.\nSummary: Call of the residential or commercial property inside the items, that reside in the things array, to set the memory cards headline.\ntitle-centered.\nType: Boolean.\nDefault: incorrect.\nDescription: Systematizes the memory cards headline.\ntitle-class.\nKind: Cord.\nDefault: \".\nClassification: If you intend to set a custom class to the memory cards label, specified it listed below.\ntitle-substr.\nStyle: String.\nDefault: 18.\nClassification: Amount of personalities to show inside the memory cards headline. Over this, will certainly set a '...' cover-up.\ncontent-attr.\nStyle: Strand.\nDefault: 'web content'.\nDescription: Call of the home inside the items, that remain in the products collection, to place the memory cards web content.\ncontent-centered.\nKind: Boolean.\nNonpayment: incorrect.\nClassification: Rationalizes all the cards content text.\ncontent-class.\nType: Cord.\nDefault: \".\nDescription: If you want to set a custom-made training class to the cards material, specified it below.\ncontent-substr.\nKind: String.\nNonpayment: 250.\nDescription: Number of figures to display inside the cards information. Above this, are going to establish a '...' disguise.\nmin-width.\nStyle: Strand.\nNonpayment: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nKind: Strand.\nNonpayment: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nType: String.\nNonpayment: \".\nClassification: Stuffing of the timeline.\ntimeline-background.\nKind: Cord.\nDefault: '#E 9E9E9'.\nClassification: History colour of the whole timetable.\nline-color.\nStyle: String.\nNonpayment: '
03A9F4'.Description: Colour of the line inside the timeline.clickable.Kind: Boolean.Default: true.Summary: Creates the memory card clickable that returns the object.You may additionally transform the measure different colors and the type of each item making use of the stepCssClass and also boxCssClass qualities inside each item:.const example1 = title: "Headline example 1",.material:." Lorem ipsum dolor rest amet, consectetur adipiscing elit. Ut ex-boyfriend 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'..Growth.Note: Contributions are actually quite welcomed, nonetheless is actually very essential to open a new problem utilizing the problem design template prior to you start servicing everything, so our team may explain it prior to palm.Fork the task as well as enter this controls in your terminal.$ git duplicate https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For aesthetic testing, this job includes storybook which you may function by doing the following order.$ anecdote storybook.Jest.Before helping make the public relations, if you altered one thing that requires to become assessed, feel free to make the exams inside the tests/unit folder.To operate the examinations, you can utilize the upcoming demand.$ anecdote examination: system.CSS.All the CSS goes to src/assets/css/ style.scss.If you create any kind of adjustments in that data, you will certainly need to have to run yarn create to develop it, considering that the component utilizes the minified model at src/assets/css/ style.min.css.Commitlint.This venture adheres to the commitlint tips, along with slight adjustments.You may commit making use of npm operate devote to assist you keeping that.There's a pre-push hook that dashes all the system examines prior to you can push it.If an inaccuracy takes place, you can make use of the npm run dedicate: retry demand that rushes the previous npm operate dedicate that you currently filled.