Sleep

Vue- horizontal-timeline: Horizontal timeline element for Vue.js #.\n\nVue-horizontal-timeline is a simple parallel timeline component created along with Vue.js (deal with Vue 2 &amp Vue 3).\nDemo.\nEngage with an operating Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to install.\nnpm.\n$ npm install vue-horizontal-timeline-- conserve.\nanecdote (advised).\n$ yarn include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou may import in your main.js report.\nbring in Vue coming from \"vue\".\nbring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even locally in any kind of element.\n\n' bring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you do not require the braces above.\n\nexport default \ncomponents: \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 from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand after that import it in your 'nuxt.config.js' file.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nFundamental use.\n\n\n\n\n\nProps.\nitems.\nStyle: Assortment.\nNonpayment: null.\nExplanation: Assortment of objects to be shown. Should have at minimum an information residential or commercial property.\nitem-selected.\nStyle: Item.\nDefault: {-String.Split- -}\nSummary: Object that is prepared when it is clicked. Note that clickable set have to be set to accurate.\nitem-unique-key.\nKind: String.\nDefault: \".\nSummary: Secret to set a blue boundary to the memory card when it is clicked (clickable.\nset must be set to correct).\ntitle-attr.\nStyle: Strand.\nNonpayment: 'label'.\nDescription: Call of the home inside the things, that reside in the things assortment, to establish the cards headline.\ntitle-centered.\nKind: Boolean.\nDefault: false.\nClassification: Rationalizes the memory cards label.\ntitle-class.\nType: String.\nDefault: \".\nClassification: If you want to establish a custom-made lesson to the cards label, specified it listed below.\ntitle-substr.\nType: Cord.\nNonpayment: 18.\nClassification: Variety of personalities to present inside the memory cards label. Above this, will definitely put a '...' hide.\ncontent-attr.\nStyle: String.\nNonpayment: 'web content'.\nDescription: Name of the property inside the items, that are in the items range, to establish the memory cards information.\ncontent-centered.\nType: Boolean.\nNonpayment: false.\nDescription: Systematizes all the cards content text message.\ncontent-class.\nType: Strand.\nDefault: \".\nDescription: If you want to specify a custom-made training class to the memory cards material, established it here.\ncontent-substr.\nType: String.\nNonpayment: 250.\nClassification: Amount of personalities to present inside the cards web content. Over this, will certainly set a '...' hide.\nmin-width.\nType: String.\nNonpayment: '200px'.\nClassification: Min-width of the timeline.\nmin-height.\nStyle: Cord.\nNonpayment: \".\nClassification: Min-height of the timetable.\ntimeline-padding.\nStyle: String.\nNonpayment: \".\nClassification: Stuffing of the timetable.\ntimeline-background.\nType: String.\nNonpayment: '#E 9E9E9'.\nClassification: Background different colors of the entire timetable.\nline-color.\nType: Chain.\nNonpayment: '

03A9F4'.Classification: Colour of the line inside the timetable.clickable.Style: Boolean.Nonpayment: real.Summary: Produces the card clickable that returns the object.You can also modify the step shade and also the design of each thing utilizing the stepCssClass as well as boxCssClass characteristics inside each item:.const example1 = label: "Headline example 1",.content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex 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.Take note: Payments are actually quite invited, having said that is actually incredibly significant to open a new concern making use of the concern template prior to you start working on anything, so our experts can easily explain it before hand.Fork the job as well as 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 visual screening, this project includes storybook which you can easily run by doing the upcoming order.$ yarn storybook.Banter.Before helping make the PR, if you changed something that needs to become tested, feel free to produce the exams inside the tests/unit file.To run the examinations, you may use the following command.$ anecdote examination: system.CSS.All the CSS is at src/assets/css/ style.scss.If you make any improvements in that report, you will certainly need to run anecdote develop to construct it, due to the fact that the part utilizes the minified model at src/assets/css/ style.min.css.Commitlint.This venture observes the commitlint suggestions, along with small improvements.You can dedicate making use of npm operate devote to help you with that.There's a pre-push hook that jogs all the system checks just before you may press it.If a mistake develops, you may use the npm run dedicate: retry command that jogs the previous npm run commit that you currently filled up.

Articles You Can Be Interested In