All Projects → flowck → Vue Cobra

flowck / Vue Cobra

Licence: mit
🐍 Reading position indicator for Vuejs

Projects that are alternatives of or similar to Vue Cobra

Vue Echarts V3
Vue.js(v2.x+) component wrap for ECharts.js(v3.x+)
Stars: ✭ 884 (+991.36%)
Mutual labels:  vue-component
Vue Social Sharing
A renderless Vue.js component for sharing links to social networks, compatible with SSR
Stars: ✭ 1,071 (+1222.22%)
Mutual labels:  vue-component
Vue Agile
🎠 A carousel component for Vue.js
Stars: ✭ 1,167 (+1340.74%)
Mutual labels:  vue-component
Vue Async Modal
Flexible modal component for Vue with ability of asynchronous lazy loading
Stars: ✭ 30 (-62.96%)
Mutual labels:  vue-component
Navscroll Js
Lightweight package for highlighting menu items as you scroll the page, also scrolling to target section when item clicked. Use as a vue component/directive or in vanilla js.
Stars: ✭ 41 (-49.38%)
Mutual labels:  vue-component
Serialized Editor
A Vue.js component for editing data that has been serialized in PHP
Stars: ✭ 54 (-33.33%)
Mutual labels:  vue-component
Vue Croppa
A simple straightforward customizable mobile-friendly image cropper for Vue 2.0.
Stars: ✭ 942 (+1062.96%)
Mutual labels:  vue-component
Vue Draggablecal
Not your ordinary datepicker. A Vuejs draggable date selector with a fresh responsive design, mobile ready and 0 dependencies, 17kb gzipped
Stars: ✭ 79 (-2.47%)
Mutual labels:  vue-component
Vue Meeting Selector
This component is inspired from the meeting selector from doctolib with the power of Vuejs components.
Stars: ✭ 44 (-45.68%)
Mutual labels:  vue-component
Vue Faq Accordion
❓ Simple and smooth Vue.js accordion component. Perfect for your FAQ section
Stars: ✭ 69 (-14.81%)
Mutual labels:  vue-component
Vue Countto
It's a vue component that will count to a target number at a specified duration https://panjiachen.github.io/countTo/demo/
Stars: ✭ 954 (+1077.78%)
Mutual labels:  vue-component
Eks
A series of Vue components.
Stars: ✭ 39 (-51.85%)
Mutual labels:  vue-component
Primevue
The Most Complete Vue UI Component Library
Stars: ✭ 1,085 (+1239.51%)
Mutual labels:  vue-component
Vue Gh Corners
GitHub Corners for Vue.
Stars: ✭ 30 (-62.96%)
Mutual labels:  vue-component
Vue Numeral Filter
Vue.js filter for Numeral.js 🔢 🔣
Stars: ✭ 73 (-9.88%)
Mutual labels:  vue-component
Elementui Multiselect
基于element ui、vue的多选框,支持选项disabled,支持分页,输入框过滤,可显示或隐藏全选和清空项
Stars: ✭ 14 (-82.72%)
Mutual labels:  vue-component
Kokk
Create a beautiful doc from a markdown file. You can insert a vue component into the doc as well.
Stars: ✭ 54 (-33.33%)
Mutual labels:  vue-component
Vue Particles
Vue.js component for particles backgrounds ✨
Stars: ✭ 1,220 (+1406.17%)
Mutual labels:  vue-component
Vue Showdown
📃 Use showdown as a vue component
Stars: ✭ 74 (-8.64%)
Mutual labels:  vue-component
Vue Numeric Input
Number input component with controls
Stars: ✭ 63 (-22.22%)
Mutual labels:  vue-component

vue-cobra

A Vuejs component that indicates the position of the scroll as the user reads the page.

Install

npm

npm install vue-cobra --save

yarn

yarn add install vue-cobra

Usage

Default

<template>
  <div>
    <vue-cobra />
  </div>
</template>

<script>
  import vueCobra from "vue-cobra";
  export default {
    name: "Demo",
    components: {
      vueCobra,
    },
  };
</script>

With custom properties

<template>
  <div>
    <vue-cobra
      :height="10"
      :zIndex="900"
      color="#4fc08d"
      :opacity="0.5"
      position="left"
    />
  </div>
</template>

<script>
  import vueCobra from "vue-cobra";

  export default {
    name: "Demo",
    components: {
      vueCobra,
    },
  };
</script>

Register it globally

import Vue from "vue";
import vueCobra from "vue-cobra";

Vue.component("vue-cobra", vueCobra);

Options / Props

Prop Type Default value Required Description
color String #000 false Set progress bar background color
height Number 4 false Set height of progress bar
opacity Number 1 false Set opacity from 0 to 1
position String top false Define in which position the bar will be rendered. Accepts: top, bottom and left
zIndex String 1000 false Set value based on css z-index property

When position property is set, height value is used to define the tickness of the bar. This was a quick approach to ensure backward compatibility. Feel free to send a PR.

Contributors

@phfontess @fvonellerts

Acknowledgement

Diogo Moretti - React Snakke

License

MIT © Firmino Changani

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].