@pongrass/utils 0.0.1-v20 → 0.0.2-v20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,17 +38,13 @@ import { MultiFormModule } from 'utils';
38
38
  @NgModule({
39
39
  imports: [MultiFormModule]
40
40
  })
41
- export class YourModule { }
41
+ export class YourModule {}
42
42
  ```
43
43
 
44
44
  2. Use the component in your template:
45
45
 
46
46
  ```html
47
- <app-multi-form
48
- [config]="formConfig"
49
- [showUnsavedFlags]="true"
50
- (fieldAction)="handleFieldAction($event)"
51
- (formSavedUnsavedListen)="handleFormSave($event)">
47
+ <app-multi-form [config]="formConfig" [showUnsavedFlags]="true" (fieldAction)="handleFieldAction($event)" (formSavedUnsavedListen)="handleFormSave($event)">
52
48
  </app-multi-form>
53
49
  ```
54
50
 
@@ -85,16 +81,19 @@ const formConfig: IFormConfig = {
85
81
  To use this library in another project during development:
86
82
 
87
83
  1. In the utils library directory, start the watch mode:
84
+
88
85
  ```bash
89
86
  npm run watch
90
87
  ```
91
88
 
92
89
  2. Create a symlink to the library:
90
+
93
91
  ```bash
94
92
  npm link
95
93
  ```
96
94
 
97
95
  3. In your target project directory, link to the library:
96
+
98
97
  ```bash
99
98
  npm link @pongrass/utils
100
99
  ```
@@ -104,6 +103,7 @@ To use this library in another project during development:
104
103
  To unlink:
105
104
 
106
105
  1. In your target project directory:
106
+
107
107
  ```bash
108
108
  npm unlink @pongrass/utils
109
109
  ```
@@ -119,4 +119,4 @@ Run `ng test utils` to execute the unit tests via [Karma](https://karma-runner.g
119
119
 
120
120
  ## Further help
121
121
 
122
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
122
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.