mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
small refactoring
This commit is contained in:
@@ -61,6 +61,12 @@ This repository began as a GitHub fork of [ericdrowell/KineticJS](https://github
|
||||
</script>
|
||||
```
|
||||
|
||||
# Browsers support
|
||||
|
||||
Konva works in all modern mobile and desktop browsers. A browser need to be capable to run javascript code from ES2015 spec. For older browsers you may need polyfills for missing functions.
|
||||
|
||||
At the current moment `Konva` doesn't work in IE11 directly. To make it work you just need to provide some polyfills such as `Array.prototype.find`, `String.prototype.trimLeft` and `String.prototype.trimRight`.
|
||||
|
||||
# Loading and installing Konva
|
||||
|
||||
Konva supports UMD loading. So you can use all possible variants to load the framework into your project:
|
||||
@@ -118,6 +124,8 @@ var shape = new Konva.Rect();
|
||||
import { Blur } from 'konva/lib/filters/Blur';
|
||||
```
|
||||
|
||||
|
||||
|
||||
### 5 NodeJS
|
||||
|
||||
We are using [node-canvas](https://github.com/Automattic/node-canvas) to create canvas element.
|
||||
|
Reference in New Issue
Block a user