Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

ianstormtaylor/redraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redraw

Force a redraw on an element. This can sometimes be useful to force transitions to run instead of letting the browser optimize them out. Obviously, this should be a last-ditch measure.

Installation

$ component install ianstormtaylor/redraw

Example

var redraw = require('redraw');
redraw(el);

API

redraw(el)

Force a redraw on a given el.

License

MIT

About

Force a redraw on an element.

Resources

Stars

Watchers

Forks

Packages

No packages published