Socket
Socket
Sign inDemoInstall

@nx-js/animate-middleware

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nx-js/animate-middleware

An NX animation middleware, based on standrad CSS animations.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
8.82 kB
Created
Weekly downloads
 

Readme

Source

The animate middleware

The animate middleware allows you to create entering, leaving and moving animations with a few custom attributes.

  • name: animate
  • direct middleware dependencies: attributes
  • all middleware dependencies: observe, attributes
  • type: component or content middleware
  • ignores: text nodes
  • docs

Installation

npm install @nx-js/animate-middleware

Usage

const component = require('@nx-js/core')
const observe = require('@nx-js/observe-middleware')
const attributes = require('@nx-js/attributes-middleware')
const animate = require('@nx-js/animate-middleware')

component()
  .useOnContent(observe)
  .useOnContent(attributes)
  .useOnContent(animate)
  .register('animated-comp')
<animated-comp @if="show">
  <span enter-animation="fadeIn 1s">Hello World!</span>
</animated-comp>

Keywords

FAQs

Last updated on 10 Feb 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc