1.2.0 • Published 8 years ago

electrum-style-reload v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

electrum-style-reload

NPM version

Utility functions to reload CSS given their URL.

import {init, reload} from 'electrum-style-reload';

// Initialize the reloader; call this after the page was loaded.
init ();

// Force the browser to reload the specified CSS; this will only
// work if the URL matches an already loaded CSS.
reload ('http://my-site.com/foo.css');
1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago