@the-/window
v15.8.3
Published
Browser utility for the-framework
Downloads
1,075
Readme
@the-/window
Browser utility for the-framework
Installation
$ npm install @the-/window --saveUsage
'use strict'
const React = require('react')
const { mount, once } = 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
- module:@the-/window
- global
See API Guide for more detail
License
This software is released under the MIT License.
