Skip to content

Commit 59a1179

Browse files
committed
Restore README and remove broken image link
1 parent c4642d6 commit 59a1179

File tree

1 file changed

+53
-10
lines changed

1 file changed

+53
-10
lines changed

README.md

Lines changed: 53 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,61 @@
1-
# FabricjsEditor
1+
# angular-editor-fabric-js
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.
3+
> Drag-and-drop editor based on Fabricjs for Angular v5 with multiple options
44
5-
## Development server
5+
### Example
6+
![Imgur](https://i.imgur.com/sQsL8G4.png)
7+
### Output
8+
![Imgur](https://i.imgur.com/hgTEb20.png)
69

7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
10+
### Features
11+
* Export to image
12+
* Export to SVG
13+
* Save to localStorage
14+
* Load From LocalStorage
15+
* Clean workspace
16+
* Resize workspace
17+
* Add text
18+
* Add Images
19+
* Upload Images
20+
* Add figures (Rectangle, Triangle, Square, Circle)
21+
* Render to JSON
22+
* Clone Object
23+
* Sent to front Object
24+
* Sent to back Object
25+
* Delete Object
26+
* Unselect Object
27+
* Add ID to Object
28+
* Opacity to Object
29+
* Color to Object
30+
* Font Famility to Object
31+
* Text Align to Object
32+
* Style to Object
33+
* Font Size to Object
34+
* Line Height To Object
35+
* Char Spacing to Object
36+
37+
## Installing the library in your project
38+
39+
```bash
40+
npm i angular-editor-fabric-js
41+
```
42+
43+
# Development
844

9-
## Code scaffolding
45+
## Installing the project
1046

11-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
47+
```bash
48+
git clone https://github.com/kevoj/angular-editor-fabric-js.git
49+
cd angular-editor-fabric-js
50+
npm install
51+
```
52+
## Start
53+
54+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
1255

1356
## Build
1457

15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
58+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
1659

1760
## Running unit tests
1861

@@ -21,7 +64,7 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.
2164
## Running end-to-end tests
2265

2366
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
67+
Before running the tests make sure you are serving the app via `ng serve`.
2468

25-
## Further help
26-
27-
To 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).
69+
## License
70+
MIT © [Leonardo Rico](https://github.com/kevoj/angular-editor-fabric-js/blob/master/LICENSE)

0 commit comments

Comments
 (0)