Sleep

Vue- horizontal-timeline: Horizontal timeline element for Vue.js #.\n\nVue-horizontal-timeline is a basic straight timetable element made with Vue.js (collaborate with Vue 2 &amp Vue 3).\nTrial.\nInteract with an operating Demo on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to put up.\nnpm.\n$ npm install vue-horizontal-timeline-- spare.\nanecdote (recommended).\n$ anecdote include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou may import in your main.js report.\nimport Vue coming from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr in your area in any sort of element.\n\n' import VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need to have the brackets above.\n\nexport default \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can 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 afterwards import it in your 'nuxt.config.js' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nGeneral usage.\n\n\n\n\n\nProps.\nitems.\nType: Variety.\nDefault: null.\nDescription: Range of challenge be actually featured. Have to contend least a material residential or commercial property.\nitem-selected.\nType: Item.\nNonpayment: {-String.Split- -}\nExplanation: Item that is actually set when it is actually clicked. Keep in mind that clickable uphold have to be readied to accurate.\nitem-unique-key.\nStyle: String.\nDefault: \".\nDescription: Key to prepare a blue border to the memory card when it is clicked (clickable.\nuphold should be actually readied to true).\ntitle-attr.\nStyle: Cord.\nDefault: 'label'.\nSummary: Name of the building inside the items, that are in the things selection, to set the cards label.\ntitle-centered.\nType: Boolean.\nDefault: inaccurate.\nDescription: Rationalizes the memory cards headline.\ntitle-class.\nKind: Cord.\nDefault: \".\nDescription: If you would like to prepare a custom class to the cards title, specified it below.\ntitle-substr.\nStyle: Strand.\nNonpayment: 18.\nDescription: Amount of characters to show inside the memory cards title. Over this, will set a '...' face mask.\ncontent-attr.\nKind: Cord.\nNonpayment: 'content'.\nSummary: Call of the building inside the objects, that remain in the items collection, to place the cards web content.\ncontent-centered.\nKind: Boolean.\nDefault: incorrect.\nClassification: Centralizes all the cards material text.\ncontent-class.\nStyle: String.\nNonpayment: \".\nClassification: If you desire to set a custom-made training class to the memory cards material, prepared it listed here.\ncontent-substr.\nStyle: Strand.\nDefault: 250.\nClassification: Lot of characters to feature inside the cards content. Over this, will certainly place a '...' face mask.\nmin-width.\nType: Strand.\nDefault: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nKind: Strand.\nNonpayment: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nKind: String.\nNonpayment: \".\nClassification: Cushioning of the timetable.\ntimeline-background.\nKind: Strand.\nDefault: '#E 9E9E9'.\nDescription: Background different colors of the entire timetable.\nline-color.\nType: Chain.\nNonpayment: '

03A9F4'.Classification: Different colors of free throw line inside the timeline.clickable.Type: Boolean.Default: real.Description: Creates the memory card clickable that returns the item.You can easily additionally transform the action colour as well as the design of each thing using the stepCssClass and boxCssClass features inside each product:.const example1 = title: "Label instance 1",.web content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex-boyfriend 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'..Advancement.Note: Payments are actually really welcomed, nevertheless is actually really important to open a brand new problem utilizing the problem theme just before you start focusing on everything, so we can easily review it prior to palm.Fork the venture 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 screening, this project contains storybook which you can run through carrying out the upcoming demand.$ yarn storybook.Banter.Prior to creating the public relations, if you modified something that needs to have to be assessed, feel free to make the tests inside the tests/unit folder.To operate the examinations, you can easily make use of the upcoming order.$ anecdote exam: unit.CSS.All the CSS goes to src/assets/css/ style.scss.If you help make any type of adjustments during that file, you will need to have to manage yarn construct to build it, since the part utilizes the minified variation at src/assets/css/ style.min.css.Commitlint.This venture complies with the commitlint suggestions, along with minor adjustments.You may commit making use of npm operate commit to assist you with that.There is actually a pre-push hook that dashes all the device assesses before you can press it.If an error occurs, you can utilize the npm operate devote: retry command that jogs the previous npm run devote that you presently loaded.

Articles You Can Be Interested In