form-validate-angular
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "form-validate-angular", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"repository": { | ||
"url": "https://github.com/TanerSaydam/Frontend2-Angular/tree/main/form-validate-directive" | ||
}, | ||
"peerDependencies": { | ||
@@ -5,0 +8,0 @@ "@angular/common": "^16.2.0", |
@@ -6,2 +6,26 @@ # Angular NgForm Validate Directive | ||
## Import Directive Standalone | ||
```typescript | ||
import { FormValidateDirective } from 'form-validate-angular'; | ||
Component({ | ||
imports: [CommonModule, FormsModule, FormValidateDirective], | ||
}) | ||
``` | ||
## Import Directive Module | ||
```typescript | ||
import { FormValidateDirective } from 'form-validate-angular'; | ||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
FormValidateDirective | ||
] | ||
}) | ||
export class AppModule { } | ||
``` | ||
## Example Usage 1 | ||
@@ -8,0 +32,0 @@ ```html |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
25220
110