Sleep

Vue- horizontal-timeline: Parallel timetable component for Vue.js #.\n\nVue-horizontal-timeline is an easy parallel timeline part made along with Vue.js (works with Vue 2 &amp Vue 3).\nTrial.\nCommunicate along with a working Trial on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nGo to https:\/\/vue-horizontal-timeline.netlify.com.\nExactly how to install.\nnpm.\n$ npm install vue-horizontal-timeline-- spare.\nanecdote (recommended).\n$ anecdote add vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou can easily import in your main.js data.\nbring in Vue from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr locally in any kind of element.\n\n' bring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you do not need the brackets over.\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 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\"].\nSimple use.\n\n\n\n\n\nProps.\nthings.\nType: Variety.\nNonpayment: null.\nExplanation: Array of contest be actually shown. Should have at the very least an information home.\nitem-selected.\nKind: Things.\nDefault: {-String.Split- -}\nExplanation: Things that is actually prepared when it is actually clicked. Take note that clickable prop have to be actually set to accurate.\nitem-unique-key.\nType: Cord.\nDefault: \".\nDescription: Secret to prepare a blue perimeter to the card when it is clicked (clickable.\nset should be actually set to true).\ntitle-attr.\nStyle: Cord.\nNonpayment: 'label'.\nDescription: Call of the residential or commercial property inside the items, that are in the things selection, to put the memory cards title.\ntitle-centered.\nType: Boolean.\nNonpayment: false.\nDescription: Rationalizes the cards title.\ntitle-class.\nStyle: String.\nDefault: \".\nClassification: If you wish to establish a personalized course to the cards label, prepared it below.\ntitle-substr.\nStyle: Cord.\nDefault: 18.\nClassification: Lot of figures to feature inside the cards title. Over this, are going to put a '...' disguise.\ncontent-attr.\nStyle: Cord.\nNonpayment: 'content'.\nDescription: Call of the residential property inside the things, that remain in the products range, to establish the memory cards material.\ncontent-centered.\nStyle: Boolean.\nDefault: inaccurate.\nClassification: Systematizes all the memory cards satisfied text message.\ncontent-class.\nStyle: Cord.\nNonpayment: \".\nDescription: If you desire to prepare a customized training class to the memory cards content, set it below.\ncontent-substr.\nType: String.\nNonpayment: 250.\nDescription: Variety of figures to present inside the cards information. Over this, will definitely set a '...' hide.\nmin-width.\nType: Cord.\nNonpayment: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nStyle: Cord.\nNonpayment: \".\nClassification: Min-height of the timetable.\ntimeline-padding.\nStyle: String.\nNonpayment: \".\nClassification: Extra padding of the timeline.\ntimeline-background.\nKind: Strand.\nNonpayment: '#E 9E9E9'.\nClassification: Background colour of the whole timeline.\nline-color.\nKind: String.\nNonpayment: '

03A9F4'.Description: Different colors of free throw line inside the timetable.clickable.Type: Boolean.Default: real.Summary: Creates the memory card clickable that returns the things.You can also modify the action shade as well as the design of each item using the stepCssClass and also boxCssClass features inside each item:.const example1 = title: "Headline instance 1",.content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex lover 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.Keep in mind: Additions are actually incredibly invited, nonetheless is actually quite important to open up a brand new problem utilizing the problem design template prior to you start working on everything, so our experts may review it before palm.Fork the project and enter this commands in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For visual testing, this venture contains storybook which you can run through doing the following demand.$ yarn storybook.Banter.Prior to helping make the PR, if you transformed something that requires to be examined, please produce the exams inside the tests/unit directory.To manage the tests, you may utilize the upcoming order.$ yarn test: unit.CSS.All the CSS is at src/assets/css/ style.scss.If you produce any type of adjustments in that report, you will require to manage yarn build to create it, given that the part uses the minified model at src/assets/css/ style.min.css.Commitlint.This venture observes the commitlint standards, along with minor adjustments.You can devote using npm operate devote to help you with that.There's a pre-push hook that jogs all the system assesses before you may drive it.If an error develops, you can easily use the npm operate commit: retry command that runs the previous npm operate dedicate that you presently filled.

Articles You Can Be Interested In