0.2.0 • Published 8 years ago

react-headinjectscript v0.2.0

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

HeadInjectScript

a component react that inject script tag on head tag

Build Status

Usage

npm install react-headinjectscript

<HeadInjectScript 
    injectBeforeEvent={callback_before_event} //first event with no parameter
    injectsource={callback_get_string_src} // when retrieve source script whith no parameter
    injectDoneEvent={callback_done_event}  // when append to head tag no parameter
    injectOnLoadScriptEvent={callback_load_event} // when load after injectDoneEvent whith url parameter
 />

Test

npm test

Run Demo

cd demo

npm install

Run demo

npm start

Alt Text

0.2.0

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago