{"id":21539080,"url":"https://github.com/big-silver/angular2-fabricjs","last_synced_at":"2025-07-18T04:37:45.254Z","repository":{"id":120406094,"uuid":"92846912","full_name":"Big-Silver/Angular2-FabricJS","owner":"Big-Silver","description":"IText \u0026 IText Box","archived":false,"fork":false,"pushed_at":"2017-06-12T01:15:59.000Z","size":20,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T03:33:09.790Z","etag":null,"topics":["angular2","ckeditor","fabricjs","javascript","jquery"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Big-Silver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-30T15:21:59.000Z","updated_at":"2022-11-11T02:45:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"3afadfaa-e338-412e-ad91-26caeefb1be9","html_url":"https://github.com/Big-Silver/Angular2-FabricJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Big-Silver/Angular2-FabricJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FAngular2-FabricJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FAngular2-FabricJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FAngular2-FabricJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FAngular2-FabricJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Big-Silver","download_url":"https://codeload.github.com/Big-Silver/Angular2-FabricJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FAngular2-FabricJS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265701464,"owners_count":23813751,"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":["angular2","ckeditor","fabricjs","javascript","jquery"],"created_at":"2024-11-24T04:14:02.825Z","updated_at":"2025-07-18T04:37:45.247Z","avatar_url":"https://github.com/Big-Silver.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloAngularFabric\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.1.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\nBefore running the tests make sure you are serving the app via `ng serve`.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n## install Fabric\n1) Install Fabric.js\n\nnpm install fabric --save \n2) Install TypeScript definitions for Fabric.js\n\ntypings install fabric --source dt --save\n3) Import fabric in required ts file\n\nimport 'fabric';\ndeclare const fabric: any;\n\n## install JQuery\n\nSTEP 1 - First things first\nnpm install --save jquery\n\nnpm install -D @types/jquery\n\nSTEP 2 - IMPORT\n// Now, within any of the app files (ES2015 style)\nimport * as $ from 'jquery';\n//\n$('#elemId').width();\n\n// OR\n\n// CommonJS style - working with \"require\"\nimport $ = require('jquery')\n//\n$('#elemId').width();\n\nUPDATE - Feb - 2017\n\nimport $ from 'jquery';\n//\n$('#elemId').width();\n\n\nIn your index.html just add this in the header block:\n\u003cscript src=\"https://cdn.ckeditor.com/4.6.1/full/ckeditor.js\"\u003e\u003c/script\u003e\n\nInstall ng2-ckeditor via NPM\n\nnpm install ng2-ckeditor --save\nIn your app.component.ts add this:\n\nimport { CKEditorComponent } from '../../../node_modules/ng2-ckeditor/src/ckeditor.component';\n@NgModule({\n    declarations: [\n        CKEditorComponent\n    ],\n    exports: [\n        CKEditorComponent,\n           ]\n})\nUse editor like this:\n\n\u003cckeditor [(ngModel)]=\"myContent\" debounce=\"500\"\u003e\u003c/ckeditor\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-silver%2Fangular2-fabricjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbig-silver%2Fangular2-fabricjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-silver%2Fangular2-fabricjs/lists"}