🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

fake-smile

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-smile

A JavaScript library that allows you to animate web content

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
14
250%
Maintainers
1
Weekly downloads
 
Created
Source

FakeSmile

A JavaScript library that allows you to animate web content

More nformation can be found at leunen.me/fakesmile

SMIL is a specification defining a set of elements that control animations. This is called declarative animations. FakeSmile is a SMIL implementation written in ECMAScript. What people call a polyfill. It is primarily targeted to SVG animations.

While some browsers already support animations (Opera, Firefox, Safari and Chrome), others don't. While I'm writing this, only MS Internet Explorer is lacking this feature. But they all support programatic animations via scripting. FakeSmile makes declarative animations work in IE too.

Installation

In your project directory, run the following command.

npm install fake-smile --save

Usage

Require the libraries in your project (requires a transpiler such as Webpack).

import "fake-smile/smil.check.js";
import "fake-smile/smil.user.js";

Note: This library will not work on external SVG files. They will have to be part of the template.

Keywords

svg

FAQs

Package last updated on 07 Jun 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