Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-no-animation-for-dinosaur

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-no-animation-for-dinosaur

disable angular animation for old browser

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-15.79%
Maintainers
1
Weekly downloads
 
Created
Source

Commitizen friendly semantic-release travis build npm GitHub release npm

ngx-no-animation-for-dinosaur

This library utilize Angular private API to disable animation. There is a chance that Angular might change it. If you have any doubt, please run test (karma start) to make sure it works as it should be. (An easy way is trying to set disable as true, and see if it works. You can put this in your unit test as well.)

Dependencies

  • Angular >=4.0.0

Install

You can get it on npm.

npm install ngx-no-animation-for-dinosaur --save

Build project

1. npm i

2. npm run build

Purpose ?

Enable Animation for only supported browser with polyfill

  • Chrome
  • Firefox 27+
  • IE10+ (including Edge)
  • Safari (iOS) 7.1+
  • Safari (Mac) 9+

How to use:

in ngModule:

import { BrowserSupportedAnimationsModule } from 'ngx-no-animation-for-dinosaur';

 imports: [BrowserSupportedAnimationsModule.forRoot({disable: boolean})],

Demo

try demo under demo/cliDemo

plunker

Acknowledgement

Kudos to

  • This project is inspired by user2957238@StackOverflow answer

  • The build process is based on angular-library-starter by @robisim74

Keywords

FAQs

Package last updated on 09 May 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc