Skip to content

segmentio/script-onload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script-onload

Note
Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

Invoke fn(err) when the given <script> loads.

Installation

$ component install segmentio/script-onload

API

onload(el, fn)

License

(MIT)