script-onload

1.0.2 • Public • Published

script-onload

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

Installation

$ component install segmentio/script-onload

API

onload(el, fn)

License

(MIT)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    57,391
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    57,391

Package Sidebar

Install

npm i script-onload

Weekly Downloads

57,391

Version

1.0.2

License

none

Last publish

Collaborators

  • segment-admin
  • ndhoule