This package has been deprecated

Author message:

move to @the-/window ( https://github.com/the-labo/the/tree/master/packages/window#readme )

the-window

7.0.6 • Public • Published

the-window

Build Status npm Version JS Standard

Browser utility for the-framework

Installation

$ npm install the-window --save

Usage

'use strict'
 
const React = require('react')
const {once, mount} = require('the-window')
 
async function tryExample () {
  once('DOMContentLoaded', () => {
    const element = React.createElement('div')
    mount(element, 'the-window-dom-id')
  })
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-window

Weekly Downloads

26

Version

7.0.6

License

MIT

Unpacked Size

52.9 kB

Total Files

46

Last publish

Collaborators

  • okunishinishi