@cerebral/angular
Advanced tools
Comparing version 3.2.1 to 3.2.2-1523952156059
{ | ||
"name": "@cerebral/angular", | ||
"version": "3.2.1", | ||
"version": "3.2.2-1523952156059", | ||
"description": "Angular view for Cerebral", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cerebral": "^4.2.1" | ||
"cerebral": "^4.2.2-1523952156059" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
"express": "^4.15.4", | ||
"ts-node": "^3.3.0", | ||
"ts-node": "^5.0.1", | ||
"zone.js": "^0.8.17" | ||
@@ -37,0 +37,0 @@ }, |
@@ -10,2 +10,3 @@ # @cerebral/angular | ||
## CerebralService | ||
The Cerebral service exposes the Cerebral controller to your application. | ||
@@ -52,8 +53,17 @@ | ||
## connect decorator | ||
The connect decorator connects state and signals to your components. | ||
```ts | ||
import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core' | ||
import { | ||
Component, | ||
ChangeDetectionStrategy, | ||
ChangeDetectorRef | ||
} from '@angular/core' | ||
import { signal, state } from 'cerebral/tags' | ||
import { connect, ControllerService, CerebralComponent } from '@cerebral/angular' | ||
import { | ||
connect, | ||
ControllerService, | ||
CerebralComponent | ||
} from '@cerebral/angular' | ||
@@ -60,0 +70,0 @@ @Component({ |
@@ -9,4 +9,4 @@ { | ||
"strictPropertyInitialization": false, | ||
"lib": [ "es2015" , "es2017", "dom"] | ||
"lib": ["es2015", "es2017", "dom"] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91
8730
12
2