Sleep

Vue- horizontal-timeline: Straight timeline component for Vue.js #.\n\nVue-horizontal-timeline is a basic parallel timeline component brought in with Vue.js (team up with Vue 2 &amp Vue 3).\nTrial.\nSocialize along with a working Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nVisit https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to put up.\nnpm.\n$ npm put in vue-horizontal-timeline-- save.\nyarn (recommended).\n$ yarn include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou can import in your main.js documents.\nbring in Vue coming from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even regionally in any type of component.\n\n' bring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you do not require the braces over.\n\nexport nonpayment \ncomponents: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' bring in Vue coming from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand afterwards import it in your 'nuxt.config.js' file.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nBasic utilization.\n\n\n\n\n\nProps.\nproducts.\nType: Selection.\nNonpayment: null.\nDescription: Variety of challenge be presented. Should have at minimum a web content building.\nitem-selected.\nStyle: Item.\nNonpayment: {-String.Split- -}\nDescription: Things that is specified when it is clicked on. Take note that clickable prop have to be readied to accurate.\nitem-unique-key.\nKind: String.\nNonpayment: \".\nDescription: Key to establish a blue perimeter to the memory card when it is actually clicked (clickable.\nprop have to be readied to true).\ntitle-attr.\nKind: Cord.\nDefault: 'headline'.\nSummary: Call of the residential or commercial property inside the objects, that are in the things variety, to place the memory cards headline.\ntitle-centered.\nStyle: Boolean.\nNonpayment: false.\nDescription: Centralizes the memory cards label.\ntitle-class.\nType: String.\nDefault: \".\nDescription: If you desire to prepare a personalized training class to the cards title, set it here.\ntitle-substr.\nKind: String.\nDefault: 18.\nClassification: Variety of characters to display inside the memory cards headline. Over this, will certainly establish a '...' mask.\ncontent-attr.\nStyle: Cord.\nDefault: 'information'.\nExplanation: Name of the property inside the things, that reside in the things variety, to establish the memory cards material.\ncontent-centered.\nStyle: Boolean.\nDefault: false.\nDescription: Streamlines all the memory cards material text message.\ncontent-class.\nType: Strand.\nDefault: \".\nClassification: If you desire to prepare a personalized class to the cards web content, specified it listed here.\ncontent-substr.\nStyle: Strand.\nDefault: 250.\nClassification: Variety of personalities to feature inside the cards material. Over this, will certainly set a '...' mask.\nmin-width.\nKind: String.\nNonpayment: '200px'.\nDescription: Min-width of the timetable.\nmin-height.\nKind: String.\nDefault: \".\nClassification: Min-height of the timetable.\ntimeline-padding.\nKind: Cord.\nNonpayment: \".\nClassification: Padding of the timetable.\ntimeline-background.\nKind: String.\nDefault: '#E 9E9E9'.\nDescription: History color of the whole timetable.\nline-color.\nType: Chain.\nNonpayment: '

03A9F4'.Description: Color of free throw line inside the timetable.clickable.Style: Boolean.Default: true.Description: Helps make the memory card clickable that returns the item.You may likewise change the step different colors and the design of each item utilizing the stepCssClass as well as boxCssClass attributes inside each product:.const example1 = headline: "Label instance 1",.information:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex-boyfriend 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'..Growth.Take note: Payments are incredibly welcomed, nevertheless is quite crucial to open up a brand-new problem making use of the problem template prior to you start focusing on anything, so our team can easily review it just before palm.Fork the venture 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 contains storybook which you may run by doing the next demand.$ anecdote storybook.Jest.Prior to creating the public relations, if you modified something that requires to be tested, satisfy make the tests inside the tests/unit folder.To manage the exams, you can utilize the upcoming demand.$ yarn exam: unit.CSS.All the CSS goes to src/assets/css/ style.scss.If you make any sort of improvements during that report, you will need to have to manage yarn create to build it, due to the fact that the element utilizes the minified version at src/assets/css/ style.min.css.Commitlint.This task follows the commitlint rules, with small adjustments.You can easily commit utilizing npm run dedicate to aid you with that.There's a pre-push hook that runs all the unit examines just before you may push it.If a mistake takes place, you can utilize the npm run devote: retry demand that rushes the previous npm operate devote that you already filled.

Articles You Can Be Interested In