0.0.6 • Published 3 years ago

vue-component-loaders v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

📦 Installation

npm i vue-component-loaders

🔧 Usage

There are a number of ways you can use this library! Here are a few examples:

Global Component Registration

import { createApp } from "vue";
import App from "./App.vue";

import VueComponentLoaders from "vue-component-loaders";

createApp(App).use(VueComponentLoaders).mount("#app");
// Each loader can now be used in your templates anywhere in the app!

Local Component Registration

import { PulseBall } from "vue-component-loaders";

export default {
  components: {
    PulseBall,
  },
};

📋 Available Loaders

Pulse Props and Defaults

borderRadius int: 50
width int: 150
height int: 150
pulseRadius: int: 50
colour str: "#db6666"

Bounce Props and Defaults

borderRadius int: 50 // This will make the shape a circle or box depending on the radius, default is a perfect circle.
width int: 150
height int: 150
colour str: "#db6666"
balls int: 3 // This is the number of balls you would like.
symmetry bool: false // When true all the balls will bounce at the same .time
direction str: "horizontal" // This is the direction you would like to layout the balls options (horizontal, vertical).

CollapseCircle Props and Defaults

width int: 250
height int: 250
colour str: "#db6666"
balls int: 8 // This is the number of balls you would like.
ballSize int: 50 // The size of the actual balls
spacing int: 1 // The spacing between each ball
speed str: "4s" // The speed at which the balls will rotate
rotationAmount int: 360 // How many rotations the balls will make before stopping

📣 Announcements

This library is still WIP

"Buy Me A Coffee"

🥂 License

Released under the MIT license.

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago