Sleep

Vue- horizontal-timeline: Horizontal timetable component for Vue.js #.\n\nVue-horizontal-timeline is actually an easy horizontal timeline element created along with Vue.js (deal with Vue 2 &amp Vue 3).\nTrial.\nEngage along with an operating Demonstration on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nGo to https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to mount.\nnpm.\n$ npm put in vue-horizontal-timeline-- spare.\nanecdote (advised).\n$ yarn add vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can easily import in your main.js file.\nimport Vue coming from \"vue\".\nbring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr regionally in any component.\n\n' bring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't require the brackets over.\n\nexport default \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou may import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' import Vue coming from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand then import it in your 'nuxt.config.js' file.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nFundamental use.\n\n\n\n\n\nProps.\nproducts.\nStyle: Assortment.\nDefault: null.\nDescription: Variety of contest be actually shown. Need to contend least a material home.\nitem-selected.\nKind: Item.\nNonpayment: {-String.Split- -}\nExplanation: Things that is actually specified when it is actually clicked. Note that clickable uphold have to be readied to correct.\nitem-unique-key.\nStyle: Strand.\nDefault: \".\nExplanation: Key to establish a blue border to the memory card when it is actually clicked (clickable.\nset should be readied to true).\ntitle-attr.\nKind: Strand.\nDefault: 'headline'.\nDescription: Call of the residential property inside the things, that reside in the items range, to set the cards title.\ntitle-centered.\nType: Boolean.\nDefault: inaccurate.\nClassification: Centralizes the cards label.\ntitle-class.\nKind: Cord.\nNonpayment: \".\nClassification: If you want to establish a personalized course to the cards title, established it listed here.\ntitle-substr.\nStyle: Strand.\nDefault: 18.\nDescription: Variety of personalities to present inside the memory cards headline. Over this, will certainly place a '...' mask.\ncontent-attr.\nKind: String.\nDefault: 'web content'.\nSummary: Call of the building inside the objects, that are in the things range, to set the cards web content.\ncontent-centered.\nType: Boolean.\nNonpayment: false.\nDescription: Systematizes all the cards content message.\ncontent-class.\nKind: Cord.\nNonpayment: \".\nDescription: If you would like to establish a customized class to the cards material, prepared it below.\ncontent-substr.\nKind: Cord.\nNonpayment: 250.\nDescription: Variety of characters to show inside the cards material. Above this, will definitely place a '...' cover-up.\nmin-width.\nKind: String.\nNonpayment: '200px'.\nClassification: Min-width of the timeline.\nmin-height.\nKind: String.\nNonpayment: \".\nClassification: Min-height of the timetable.\ntimeline-padding.\nType: Cord.\nNonpayment: \".\nClassification: Cushioning of the timetable.\ntimeline-background.\nStyle: Strand.\nNonpayment: '#E 9E9E9'.\nDescription: History colour of the whole timetable.\nline-color.\nKind: Chain.\nDefault: '

03A9F4'.Classification: Different colors of the line inside the timetable.clickable.Type: Boolean.Default: accurate.Explanation: Makes the memory card clickable that returns the things.You can easily also transform the action colour and the style of each item utilizing the stepCssClass and also boxCssClass attributes inside each product:.const example1 = headline: "Label example 1",.content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex-boyfriend 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'..Development.Note: Additions are actually really accepted, however is really vital to open a new issue utilizing the problem layout just before you begin working on just about anything, so our team can review it prior to palm.Fork the job and also enter this regulates in your terminal.$ git duplicate https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ anecdote.Storybook.For aesthetic testing, this task contains storybook which you can easily operate by doing the upcoming order.$ anecdote storybook.Banter.Prior to creating the public relations, if you changed one thing that requires to become examined, feel free to make the tests inside the tests/unit file.To run the exams, you can easily use the following demand.$ anecdote examination: unit.CSS.All the CSS goes to src/assets/css/ style.scss.If you produce any sort of modifications during that report, you are going to need to run yarn develop to create it, since the element makes use of the minified variation at src/assets/css/ style.min.css.Commitlint.This job adheres to the commitlint guidelines, with small adjustments.You can devote utilizing npm operate dedicate to assist you with that said.There's a pre-push hook that jogs all the device examines before you can easily press it.If a mistake takes place, you can easily utilize the npm operate commit: retry demand that dashes the previous npm run devote that you currently filled.

Articles You Can Be Interested In