Skip to content

evg656e/polyfill-qml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polyfill-qml

Minimal required polyfill library for QML JavaScript host environment.

Install

With npm:

npm install polyfill-qml --save-dev

Usage

// core qml polyfills (setTimeout/clearTimeout/etc, Object.setPrototypeOf, Function.prototype.toString fix)
import 'polyfill-qml';

// or per library
import { WebSocket } from 'polyfill-qml/stage/es5/websocket';

// combine with other polyfill libraries, e.g.
import 'core-js/features/array/find-index';

About

Polyfills for QML JavaScript host environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published