{"id":15022914,"url":"https://github.com/mjanjic01/ember-konva","last_synced_at":"2025-10-24T20:32:14.114Z","repository":{"id":43602724,"uuid":"333391677","full_name":"mjanjic01/ember-konva","owner":"mjanjic01","description":"Ember component bindings for Konva canvas library","archived":false,"fork":false,"pushed_at":"2022-11-22T11:18:58.000Z","size":2008,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T08:03:06.464Z","etag":null,"topics":["canvas","ember-konva","emberjs","emberjs-addon","konvajs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjanjic01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-27T11:01:18.000Z","updated_at":"2024-09-01T08:02:01.000Z","dependencies_parsed_at":"2023-01-23T01:45:55.870Z","dependency_job_id":null,"html_url":"https://github.com/mjanjic01/ember-konva","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanjic01%2Fember-konva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanjic01%2Fember-konva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanjic01%2Fember-konva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjanjic01%2Fember-konva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjanjic01","download_url":"https://codeload.github.com/mjanjic01/ember-konva/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867829,"owners_count":16555886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","ember-konva","emberjs","emberjs-addon","konvajs"],"created_at":"2024-09-24T19:58:31.450Z","updated_at":"2025-10-24T20:32:13.292Z","avatar_url":"https://github.com/mjanjic01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-konva\n==============================================================================\n\n![ember-konva Logo](https://github.com/mjanjic01/ember-konva/raw/master/ember-konva.png)\n\nEmber component bindings for the [Konva](https://konvajs.org/) canvas library\n\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v2.18 or above\n* Ember CLI v2.13 or above\n* Node.js v8 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-konva\n\nnpm install konva\n# OR\nyarn add konva\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\nExamples\n\n```hbs\n{{!-- app/components/konva-example.hbs --}}\n\n\u003cKonva::Stage\n  @width={{1440}}\n  @height={{800}}\n  as |stage|\n\u003e\n  \u003cstage.Layer as |layer|\u003e\n    \u003clayer.Path\n      @x={{50}}\n      @y={{50}}\n      @data=\"...\"\n      @fill=\"#9B2918\"\n      @scale={{object x=0.4 y=0.4}}\n    /\u003e\n\n    \u003clayer.Text\n      @text=\"+\"\n      @fontSize={{36}}\n      @x={{168}}\n      @y={{60}}\n      @fill=\"#020202\"\n    /\u003e\n\n    \u003clayer.Image\n      @x={{200}}\n      @y={{40}}\n      @height={{180}}\n      @width={{180}}\n      @scale={{object x=0.4 y=0.4}}\n      @image={{this.image}}\n    /\u003e\n\n    \u003clayer.Text\n      @text=\"=\"\n      @fontSize={{36}}\n      @x={{280}}\n      @y={{60}}\n      @fill=\"#020202\"\n    /\u003e\n\n    \u003clayer.Path\n      @x={{315}}\n      @y={{48}}\n      @data=\"...\"\n      @stroke=\"#9B2918\"\n      @strokeWidth={{8}}\n      @lineCap=\"round\"\n      @lineJoin=\"round\"\n      @scale={{object x=0.25 y=0.25}}\n    /\u003e\n  \u003c/stage.Layer\u003e\n\u003c/Konva::Stage\u003e\n```\n\nThis addon provides an `object` helper. This helper should be used instead of the ember built-in `hash` helper when passing component properties. \\\nKonva 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))\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjanjic01%2Fember-konva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjanjic01%2Fember-konva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjanjic01%2Fember-konva/lists"}