Sleep

Vue- horizontal-timeline: Horizontal timeline component for Vue.js #.\n\nVue-horizontal-timeline is actually a basic horizontal timetable element brought in with Vue.js (partner with Vue 2 &amp Vue 3).\nDemo.\nInteract along with a functioning Trial on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nVisit https:\/\/vue-horizontal-timeline.netlify.com.\nJust how to put in.\nnpm.\n$ npm put up vue-horizontal-timeline-- save.\nanecdote (encouraged).\n$ anecdote incorporate vue-horizontal-timeline.\nQuick start.\nVue.js.\nYou can easily import in your main.js documents.\nimport Vue coming from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even in your area in any type of component.\n\n' bring in VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need the braces over.\n\nexport nonpayment \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou can import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' bring in Vue from \"vue\".\nimport VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand afterwards import it in your 'nuxt.config.js' file.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nBasic use.\n\n\n\n\n\nProps.\nitems.\nKind: Array.\nNonpayment: null.\nDescription: Variety of contest be featured. Need to contend least a material residential or commercial property.\nitem-selected.\nStyle: Object.\nNonpayment: {-String.Split- -}\nDescription: Item that is set when it is actually clicked on. Keep in mind that clickable prop have to be readied to correct.\nitem-unique-key.\nType: Strand.\nDefault: \".\nSummary: Secret to specify a blue boundary to the card when it is clicked (clickable.\nset must be set to accurate).\ntitle-attr.\nStyle: String.\nDefault: 'headline'.\nExplanation: Call of the residential or commercial property inside the objects, that remain in the products array, to place the cards title.\ntitle-centered.\nType: Boolean.\nNonpayment: inaccurate.\nDescription: Streamlines the cards label.\ntitle-class.\nType: String.\nNonpayment: \".\nDescription: If you wish to prepare a custom training class to the memory cards title, established it right here.\ntitle-substr.\nKind: Strand.\nNonpayment: 18.\nDescription: Lot of figures to show inside the memory cards label. Over this, are going to establish a '...' disguise.\ncontent-attr.\nStyle: Cord.\nNonpayment: 'information'.\nDescription: Name of the building inside the things, that reside in the products variety, to put the cards material.\ncontent-centered.\nType: Boolean.\nNonpayment: false.\nDescription: Centralizes all the cards content text message.\ncontent-class.\nKind: Cord.\nDefault: \".\nClassification: If you intend to prepare a customized lesson to the memory cards content, specified it listed below.\ncontent-substr.\nType: Strand.\nNonpayment: 250.\nClassification: Number of personalities to show inside the cards material. Over this, will put a '...' face mask.\nmin-width.\nType: String.\nNonpayment: '200px'.\nClassification: Min-width of the timeline.\nmin-height.\nKind: Cord.\nDefault: \".\nClassification: Min-height of the timetable.\ntimeline-padding.\nStyle: String.\nDefault: \".\nClassification: Stuffing of the timeline.\ntimeline-background.\nStyle: String.\nNonpayment: '#E 9E9E9'.\nDescription: History colour of the whole timetable.\nline-color.\nType: Chain.\nDefault: '

03A9F4'.Classification: Color of free throw line inside the timetable.clickable.Kind: Boolean.Default: true.Summary: Creates the memory card clickable that returns the item.You can easily additionally transform the step shade and also the style of each thing utilizing the stepCssClass and boxCssClass features inside each item:.const example1 = label: "Label instance 1",.content:." Lorem ipsum dolor rest amet, consectetur adipiscing elit. Ut ex-spouse 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: Additions are actually very invited, however is actually extremely crucial to open a new problem making use of the problem template before you start servicing everything, so our team can easily cover it just before hand.Fork the venture and also enter this regulates in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For graphic testing, this job contains storybook which you can operate through carrying out the next order.$ yarn storybook.Banter.Prior to creating the public relations, if you modified one thing that needs to have to be checked, feel free to help make the tests inside the tests/unit folder.To operate the examinations, you can make use of the following command.$ yarn test: system.CSS.All the CSS goes to src/assets/css/ style.scss.If you make any sort of adjustments in that data, you are going to require to run anecdote construct to create it, since the part uses the minified variation at src/assets/css/ style.min.css.Commitlint.This project adheres to the commitlint tips, along with small improvements.You may devote using npm run dedicate to help you keeping that.There's a pre-push hook that jogs all the device checks before you can easily drive it.If an inaccuracy develops, you can use the npm run devote: retry demand that rushes the previous npm run devote that you presently filled up.

Articles You Can Be Interested In