Package detail

script-onload

segmentio67.6k1.0.2

Call a function when a script loads.

readme

script-onload

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

Installation

$ component install segmentio/script-onload

API

onload(el, fn)

License

(MIT)