Vue- horizontal-timeline: Parallel timeline part for Vue.js #.\n\nVue-horizontal-timeline is an easy straight timeline element created with Vue.js (collaborate with Vue 2 & Vue 3).\nDemo.\nSocialize along with a working Trial on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to set up.\nnpm.\n$ npm install vue-horizontal-timeline-- spare.\nanecdote (suggested).\n$ yarn include vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou may import in your main.js report.\nbring in Vue coming from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even regionally in any type of element.\n\n' import VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need to have 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' bring in Vue coming from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand after that import it in your 'nuxt.config.js' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nSimple consumption.\n\n\n\n\n\nProps.\nthings.\nStyle: Variety.\nNonpayment: null.\nDescription: Variety of objects to be actually presented. Have to have at least an information residential or commercial property.\nitem-selected.\nType: Item.\nNonpayment: {-String.Split- -}\nSummary: Things that is actually set when it is actually clicked on. Take note that clickable uphold have to be actually readied to accurate.\nitem-unique-key.\nStyle: String.\nDefault: \".\nExplanation: Secret to set a blue boundary to the card when it is actually clicked (clickable.\nset need to be actually readied to true).\ntitle-attr.\nType: Cord.\nNonpayment: 'title'.\nDescription: Call of the residential or commercial property inside the things, that reside in the products selection, to set the memory cards title.\ntitle-centered.\nStyle: Boolean.\nNonpayment: incorrect.\nClassification: Streamlines the cards headline.\ntitle-class.\nStyle: String.\nDefault: \".\nClassification: If you intend to specify a personalized class to the cards title, established it right here.\ntitle-substr.\nKind: Strand.\nNonpayment: 18.\nClassification: Variety of personalities to display inside the cards title. Above this, are going to put a '...' disguise.\ncontent-attr.\nKind: Cord.\nNonpayment: 'web content'.\nExplanation: Name of the building inside the objects, that remain in the items variety, to put the cards material.\ncontent-centered.\nKind: Boolean.\nDefault: untrue.\nDescription: Centralizes all the cards material text.\ncontent-class.\nKind: Cord.\nDefault: \".\nClassification: If you wish to set a custom-made class to the memory cards content, set it listed here.\ncontent-substr.\nStyle: Strand.\nNonpayment: 250.\nDescription: Amount of personalities to display inside the memory cards web content. Over this, are going to place a '...' mask.\nmin-width.\nStyle: String.\nDefault: '200px'.\nDescription: Min-width of the timeline.\nmin-height.\nKind: String.\nDefault: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nKind: Strand.\nNonpayment: \".\nClassification: Extra padding of the timeline.\ntimeline-background.\nType: Strand.\nDefault: '#E 9E9E9'.\nDescription: Background color of the entire timetable.\nline-color.\nType: String.\nNonpayment: '
03A9F4'.Description: Color of the line inside the timetable.clickable.Style: Boolean.Default: true.Summary: Creates the memory card clickable that returns the things.You can additionally alter the action color and the design of each thing using the stepCssClass and boxCssClass qualities inside each item:.const example1 = title: "Headline example 1",.web 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'..Growth.Note: Additions are really invited, nonetheless is very important to open a brand new problem using the issue design template before you start dealing with anything, so our team can easily explain it before hand.Fork the task and also enter this controls in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For aesthetic screening, this project contains storybook which you can easily work by doing the upcoming demand.$ yarn storybook.Banter.Before producing the PR, if you modified one thing that needs to have to become examined, please make the examinations inside the tests/unit directory.To run the exams, you may use the following demand.$ anecdote examination: device.CSS.All the CSS goes to src/assets/css/ style.scss.If you create any type of modifications in that data, you will definitely need to have to operate yarn develop to construct it, considering that the component uses the minified version at src/assets/css/ style.min.css.Commitlint.This project adheres to the commitlint rules, along with minor improvements.You may devote using npm operate dedicate to assist you with that said.There is actually a pre-push hook that rushes all the device checks before you can push it.If an inaccuracy happens, you can use the npm operate devote: retry command that jogs the previous npm operate dedicate that you currently filled up.
Articles You Can Be Interested In