Sleep

Vue- horizontal-timeline: Horizontal timetable component for Vue.js #.\n\nVue-horizontal-timeline is a basic horizontal timeline element brought in with Vue.js (deal with Vue 2 &amp Vue 3).\nDemonstration.\nConnect with an operating Trial on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nHead to https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to put in.\nnpm.\n$ npm mount vue-horizontal-timeline-- conserve.\nyarn (highly recommended).\n$ anecdote include vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou can import in your main.js report.\nimport Vue coming from \"vue\".\nimport VueHorizontalTimeline coming 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 do not need the brackets above.\n\nexport nonpayment \ncomponents: \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 coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand then import it in your 'nuxt.config.js' documents.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nGeneral use.\n\n\n\n\n\nProps.\nthings.\nStyle: Array.\nDefault: null.\nDescription: Collection of objects to be presented. Must have at least a web content building.\nitem-selected.\nType: Item.\nDefault: {-String.Split- -}\nSummary: Things that is set when it is clicked on. Note that clickable set have to be set to true.\nitem-unique-key.\nType: Strand.\nDefault: \".\nExplanation: Key to set a blue boundary to the memory card when it is clicked on (clickable.\nset have to be actually readied to correct).\ntitle-attr.\nStyle: String.\nDefault: 'headline'.\nDescription: Call of the building inside the items, that remain in the products range, to set the memory cards headline.\ntitle-centered.\nStyle: Boolean.\nNonpayment: untrue.\nClassification: Rationalizes the cards title.\ntitle-class.\nStyle: String.\nDefault: \".\nDescription: If you wish to prepare a personalized course to the cards title, specified it listed here.\ntitle-substr.\nStyle: String.\nNonpayment: 18.\nClassification: Variety of figures to feature inside the memory cards label. Above this, are going to put a '...' cover-up.\ncontent-attr.\nKind: Cord.\nDefault: 'web content'.\nExplanation: Call of the residential property inside the things, that are in the things collection, to establish the memory cards material.\ncontent-centered.\nType: Boolean.\nNonpayment: inaccurate.\nDescription: Centralizes all the memory cards content text message.\ncontent-class.\nType: Cord.\nNonpayment: \".\nClassification: If you intend to prepare a custom class to the cards information, prepared it right here.\ncontent-substr.\nStyle: Strand.\nDefault: 250.\nDescription: Number of figures to display inside the memory cards material. Above this, will definitely set a '...' hide.\nmin-width.\nType: Strand.\nNonpayment: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nKind: Strand.\nDefault: \".\nDescription: Min-height of the timeline.\ntimeline-padding.\nType: Strand.\nNonpayment: \".\nDescription: Stuffing of the timeline.\ntimeline-background.\nStyle: String.\nNonpayment: '#E 9E9E9'.\nClassification: Background shade of the whole timeline.\nline-color.\nType: Chain.\nDefault: '

03A9F4'.Description: Color of free throw line inside the timetable.clickable.Kind: Boolean.Default: true.Summary: Makes the card clickable that returns the object.You can additionally transform the step colour as well as the design of each item utilizing the stepCssClass and also boxCssClass features inside each item:.const example1 = label: "Headline example 1",.content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex-boyfriend dolor, malesuada luctus scelerisque ac, 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 incredibly welcomed, nevertheless is quite crucial to open up a brand new concern utilizing the concern template prior to you start dealing with everything, so our experts can easily discuss it before hand.Fork the project as well as enter this influences in your terminal.$ git duplicate https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For graphic testing, this job has storybook which you may function through doing the following demand.$ yarn storybook.Jest.Prior to producing the PR, if you transformed one thing that requires to become evaluated, feel free to create the exams inside the tests/unit directory.To run the examinations, you can easily utilize the upcoming order.$ yarn examination: device.CSS.All the CSS is at src/assets/css/ style.scss.If you create any modifications during that data, you are going to need to manage anecdote build to create it, because the element utilizes the minified model at src/assets/css/ style.min.css.Commitlint.This task follows the commitlint suggestions, along with small modifications.You may commit making use of npm run commit to help you with that.There's a pre-push hook that jogs all the unit checks just before you may drive it.If an inaccuracy occurs, you can easily make use of the npm run devote: retry command that jogs the previous npm run commit that you presently loaded.

Articles You Can Be Interested In