kritzel-angular 0.0.36 → 0.0.37
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 +33 -24
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
# Setup
|
|
2
|
+
Install the kritzel-angular package
|
|
3
|
+
```
|
|
4
|
+
npm i kritzel-angular
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Add LibModule to the providers array in your app.config.ts
|
|
8
|
+
```typescript
|
|
9
|
+
import { LibModule } from 'kritzel-angular';
|
|
10
|
+
|
|
11
|
+
export const appConfig: ApplicationConfig = {
|
|
12
|
+
providers: [
|
|
13
|
+
importProvidersFrom(LibModule.forRoot())
|
|
14
|
+
]
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Include the LibModule into the imports array of your component to use Kritzel components in you template.
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { LibModule } from 'kritzel-angular';
|
|
22
|
+
|
|
23
|
+
@Component({
|
|
24
|
+
selector: 'my-component',
|
|
25
|
+
standalone: true,
|
|
26
|
+
imports: [LibModule],
|
|
27
|
+
template: `
|
|
28
|
+
<my-list></my-list>
|
|
29
|
+
`,
|
|
30
|
+
})
|
|
31
|
+
export class MyComponent {
|
|
32
|
+
}
|
|
33
|
+
```
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.2.10",
|
|
6
6
|
"@angular/core": "^18.2.10",
|
|
7
|
-
"kritzel-stencil": "^0.0.
|
|
7
|
+
"kritzel-stencil": "^0.0.37"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|