Sleep

Vue- horizontal-timeline: Parallel timeline part for Vue.js #.\n\nVue-horizontal-timeline is actually an easy parallel timetable element made with Vue.js (works with Vue 2 &amp Vue 3).\nDemo.\nSocialize along with an operating Demo on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nMost likely to https:\/\/vue-horizontal-timeline.netlify.com.\nHow to put in.\nnpm.\n$ npm mount vue-horizontal-timeline-- spare.\nyarn (advised).\n$ yarn include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou can easily import in your main.js file.\nbring in Vue from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr regionally in any element.\n\n' bring in VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need the brackets above.\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 from \"vue\".\nbring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand afterwards import it in your 'nuxt.config.js' data.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nBasic consumption.\n\n\n\n\n\nProps.\nproducts.\nKind: Range.\nNonpayment: null.\nExplanation: Array of challenge be actually presented. Need to have at the very least a web content residential or commercial property.\nitem-selected.\nStyle: Object.\nDefault: {-String.Split- -}\nSummary: Object that is set when it is actually clicked on. Note that clickable set must be set to correct.\nitem-unique-key.\nKind: String.\nNonpayment: \".\nExplanation: Secret to establish a blue perimeter to the memory card when it is clicked (clickable.\nuphold should be set to correct).\ntitle-attr.\nType: Cord.\nNonpayment: 'title'.\nSummary: Name of the residential property inside the items, that reside in the things variety, to put the memory cards label.\ntitle-centered.\nType: Boolean.\nNonpayment: untrue.\nClassification: Rationalizes the memory cards title.\ntitle-class.\nType: Strand.\nNonpayment: \".\nClassification: If you would like to set a custom-made lesson to the cards headline, prepared it listed below.\ntitle-substr.\nStyle: Cord.\nNonpayment: 18.\nClassification: Amount of figures to display inside the memory cards headline. Over this, are going to place a '...' hide.\ncontent-attr.\nStyle: Cord.\nDefault: 'web content'.\nDescription: Name of the residential or commercial property inside the items, that are in the things collection, to place the cards material.\ncontent-centered.\nStyle: Boolean.\nNonpayment: untrue.\nClassification: Centralizes all the memory cards material message.\ncontent-class.\nStyle: String.\nDefault: \".\nDescription: If you would like to prepare a personalized course to the cards material, prepared it listed here.\ncontent-substr.\nKind: String.\nDefault: 250.\nClassification: Amount of personalities to display inside the cards material. Over this, will certainly place a '...' face mask.\nmin-width.\nType: String.\nDefault: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nKind: Cord.\nNonpayment: \".\nDescription: Min-height of the timetable.\ntimeline-padding.\nKind: String.\nNonpayment: \".\nClassification: Cushioning of the timeline.\ntimeline-background.\nKind: String.\nDefault: '#E 9E9E9'.\nDescription: Background colour of the whole timeline.\nline-color.\nKind: String.\nDefault: '

03A9F4'.Description: Color of free throw line inside the timetable.clickable.Type: Boolean.Nonpayment: real.Description: Makes the card clickable that returns the item.You can easily also transform the step color as well as the design of each thing making use of the stepCssClass as well as boxCssClass characteristics inside each product:.const example1 = headline: "Label example 1",.information:." Lorem ipsum dolor rest 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.Take note: Contributions are really accepted, nonetheless is actually really significant to open up a brand new concern making use of the problem theme prior to you start servicing anything, so our team may discuss it before palm.Fork the job and enter this controls 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 job contains storybook which you may run by performing the upcoming command.$ yarn storybook.Jest.Prior to helping make the public relations, if you changed something that requires to become assessed, feel free to make the tests inside the tests/unit folder.To run the tests, you can easily make use of the following demand.$ yarn examination: device.CSS.All the CSS goes to src/assets/css/ style.scss.If you make any kind of changes because documents, you are going to need to operate yarn build to construct it, considering that the part makes use of the minified version at src/assets/css/ style.min.css.Commitlint.This job adheres to the commitlint tips, along with small adjustments.You may dedicate using npm operate dedicate to assist you with that.There is actually a pre-push hook that jogs all the device evaluates before you can easily drive it.If an inaccuracy takes place, you can easily make use of the npm operate dedicate: retry order that jogs the previous npm operate commit that you already packed.

Articles You Can Be Interested In