Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mjanjic01/ember-konva

Ember component bindings for Konva canvas library
https://github.com/mjanjic01/ember-konva

canvas ember-konva emberjs emberjs-addon konvajs

Last synced: 7 days ago
JSON representation

Ember component bindings for Konva canvas library

Awesome Lists containing this project

README

        

ember-konva
==============================================================================

![ember-konva Logo](https://github.com/mjanjic01/ember-konva/raw/master/ember-konva.png)

Ember component bindings for the [Konva](https://konvajs.org/) canvas library

Compatibility
------------------------------------------------------------------------------

* Ember.js v2.18 or above
* Ember CLI v2.13 or above
* Node.js v8 or above

Installation
------------------------------------------------------------------------------

```
ember install ember-konva

npm install konva
# OR
yarn add konva
```

Usage
------------------------------------------------------------------------------

Examples

```hbs
{{!-- app/components/konva-example.hbs --}}



```

This addon provides an `object` helper. This helper should be used instead of the ember built-in `hash` helper when passing component properties. \
Konva relies on some object prototype methods which are stripped with the hash helper ([ember apidoc](https://api.emberjs.com/ember/release/classes/Ember.Templates.helpers/methods/hash?anchor=hash))

Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).