
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
@letstri/vue-kinesis
Advanced tools
Easily create complexe interactive animations with Vue 3
Copied from the original Vue Kinesis and updated to Vue 3.
Easy to use Vue 3 components for creating interactive animations
npm install --save @letstri/vue-kinesis
Install all the plugin:
import { createApp } from 'vue';
import App from './App.vue';
import { kinesisPlugin } from '@letstri/vue-kinesis';
const app = createApp(App);
app.use(kinesisPlugin);
app.mount('#app');
<KinesisContainer>
<KinesisElement />
</KinesisContainer>
Prop | Type | Default Value | Description |
---|---|---|---|
disabled | Boolean | false | To enable or disable the interactions |
duration | Number | 1000 | Speed of the parallax animation in ms |
easing | String | 'cubic-bezier(0.23, 1, 0.32, 1)' | Easing of the parallax animation |
tag | String | div | Takes any valid html tag |
event | String | 'move' | Event to which the container will react. Possible values are 'move' and 'scroll' |
perspective | Number | 1000 | Effective for the 'depth' parallax type |
Prop | Type | Default Value | Description |
---|---|---|---|
strength | Number | 10 | Strength of the motion effect |
type | String | 'translate' | translate - translate-inv - rotate - scale - scaleX - scaleY - depth - depth-inv |
tag | String | 'div' | Takes any valid html tag |
transformOrigin | String | 'center' | Similar to the CSS transform-origin property |
originX | Number | 50 | The motion's origin relative to the container, on the X axis. 50 being the center of the container, 0 the left side, 100 the right side. |
originY | Number | 50 | The motion's origin relative to the container, on the Y axis. 50 being the center of the container, 0 the top side, 100 the bottom side. |
axis | String | null | Constrain the movement to one axis. Possible values: 'x' - 'y' |
maxX | Number | null | Limit the maximum range of the movement on the X axis |
maxY | Number | null | Limit the maximum range of the movement on the Y axis |
minX | Number | null | Limit the minimum range of the movement on the X axis |
minY | Number | null | Limit the minimum range of the movement on the Y axis |
cycles | Number | 0 | How many times the movement will repeat |
FAQs
Easily create complexe interactive animations with Vue 3
The npm package @letstri/vue-kinesis receives a total of 0 weekly downloads. As such, @letstri/vue-kinesis popularity was classified as not popular.
We found that @letstri/vue-kinesis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.