feng zhi hao

Results 7 issues of feng zhi hao

I think Typescript fit this library: 1. Typescript has strong type that reduce minor error in development stage. 2. Typescript can provide a better intelliSense. Hope you rewrite in typescript...

**3.0.0** Use latest React api, stop supporting React 15 - [x] Replace `ReactDOM .unstable_renderSubtreeIntoContainer` with `ReactDOM.createPortal`. - [x] Use React Hooks api. - [ ] ~~Accessibility.~~ - [x] Add option...

增加设置重力系统参数的方法,方便动态改变参数

现在GravityParticleSystem里面的属性全部是私有的,这样的话在程序里面就不能动态去改变这些参数,很难满足需求

When I write React in `.jsx` and `.tsx` files, I also need html snippets.

**Describe the bug** svg element innertText is undefined, it should be a string. **To Reproduce** ```javascript const { Window } = require('happy-dom'); const window = new Window({ url: 'https://localhost:8080', width:...

bug

**Describe the bug** I set style.aspectRatio on HTMLElement, but HTMLElment.outerHTML can not contain aspectRatio **To Reproduce** Steps to reproduce the behavior: ```javascript const { Window } = require('happy-dom'); const window...

bug
good first issue
easy fix