项目作者: mafumafuultu

项目描述 :
onload promise
高级语言: JavaScript
项目地址: git://github.com/mafumafuultu/onloadjs.git
创建时间: 2021-01-11T07:14:45Z
项目社区:https://github.com/mafumafuultu/onloadjs

开源协议:MIT License

下载


onloadjs

onload promise

  1. <script type="module">
  2. import onload from './onload.js';
  3. onload().then( () => {
  4. document.body;
  5. });
  6. </script>

onload(document) => Promise