Author: | rafaesc |
---|---|
Official Page: | Go to website |
Publish Date: | December 23, 2017 |
License: | MIT |
Description:
ng2-konva is a JavaScript library for drawing complex canvas graphics using Angular. It provides declarative and reactive bindings to the Konva Framework.
Installation:
# NPM $ npm install konva ng2-konva --save
Usage:
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { KonvaModule } from 'ng2-konva'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, KonvaModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }