Skip to content

Commit 9f85776

Browse files
committed
Add transient view-helper demo in Angular 18.
1 parent b14e248 commit 9f85776

23 files changed

+14124
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ with.
1010

1111
## My JavaScript Demos - I Love JavaScript!
1212

13+
* [Creating A Transient View Helper In Angular 18](https://bennadel.github.io/JavaScript-Demos/demos/view-helper-angular18/dist)
1314
* [Angular 18 Hello World](https://bennadel.github.io/JavaScript-Demos/demos/ng-18-hello-world/dist)
1415
* [An "x-input" Property Binding Directive In Alpine.js](https://bennadel.github.io/JavaScript-Demos/demos/input-directive-alpine)
1516
* [Creating A Tri-State Switch In Alpine.js](https://bennadel.github.io/JavaScript-Demos/demos/tri-state-toggle)
@@ -192,7 +193,7 @@ with.
192193
* [Creating Shortcuts By Mapping Multiple Routes On To The Same View-Component In Angular 7.2.5](https://bennadel.github.io/JavaScript-Demos/demos/url-shortcuts2-view-angular7/)
193194
* [Using A Wild Card Shortcuts Route To Hide The Internal Routing Implementation In Angular 7.2.5](https://bennadel.github.io/JavaScript-Demos/demos/url-shortcuts-view-angular7/)
194195
* [Projecting Content Into The Root Application Component Using Slots In Vue.js 2.6.6](https://bennadel.github.io/JavaScript-Demos/demos/projecting-root-content-vue2/)
195-
* [Using A Wild Card Route (**) To Traverse Arbitrarily Nested Data In Angular 7.2.4](https://bennadel.github.io/JavaScript-Demos/demos/router-folder-like-structure-angular7/)
196+
* [Using A Wild Card Route (\*\*) To Traverse Arbitrarily Nested Data In Angular 7.2.4](https://bennadel.github.io/JavaScript-Demos/demos/router-folder-like-structure-angular7/)
196197
* [Trying To Implement 9-Slice Scaling With SVG Components In Angular 7.2.4](https://bennadel.github.io/JavaScript-Demos/demos/svg-9-slice-scaling-angular7/)
197198
* [Hacking Scoped CSS Modules Into A Brownfield AngularJS 1.2.22 Application](https://bennadel.github.io/JavaScript-Demos/demos/css-modules-angularjs/)
198199
* [Renderless Components In Angular 7.2.0](https://bennadel.github.io/JavaScript-Demos/demos/renderless-components-angular7/)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
2+
3+
# Compiled output
4+
# /dist -- needed since I'm pushing this stuff to GitHub pages.
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"app": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "less"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:application",
19+
"options": {
20+
"outputPath": {
21+
"base": "dist",
22+
"browser": ""
23+
},
24+
"index": "src/index.html",
25+
"browser": "src/main.ts",
26+
"polyfills": [
27+
"zone.js"
28+
],
29+
"tsConfig": "tsconfig.app.json",
30+
"inlineStyleLanguage": "less",
31+
"assets": [
32+
{
33+
"glob": "**/*",
34+
"input": "public"
35+
}
36+
],
37+
"styles": [
38+
"src/styles.less"
39+
],
40+
"scripts": []
41+
},
42+
"configurations": {
43+
"production": {
44+
"budgets": [
45+
{
46+
"type": "initial",
47+
"maximumWarning": "500kB",
48+
"maximumError": "1MB"
49+
},
50+
{
51+
"type": "anyComponentStyle",
52+
"maximumWarning": "2kB",
53+
"maximumError": "4kB"
54+
}
55+
],
56+
"outputHashing": "all"
57+
},
58+
"development": {
59+
"optimization": false,
60+
"extractLicenses": false,
61+
"sourceMap": true
62+
}
63+
},
64+
"defaultConfiguration": "production"
65+
},
66+
"serve": {
67+
"builder": "@angular-devkit/build-angular:dev-server",
68+
"configurations": {
69+
"production": {
70+
"buildTarget": "app:build:production"
71+
},
72+
"development": {
73+
"buildTarget": "app:build:development"
74+
}
75+
},
76+
"defaultConfiguration": "development"
77+
},
78+
"extract-i18n": {
79+
"builder": "@angular-devkit/build-angular:extract-i18n"
80+
},
81+
"test": {
82+
"builder": "@angular-devkit/build-angular:karma",
83+
"options": {
84+
"polyfills": [
85+
"zone.js",
86+
"zone.js/testing"
87+
],
88+
"tsConfig": "tsconfig.spec.json",
89+
"inlineStyleLanguage": "less",
90+
"assets": [
91+
{
92+
"glob": "**/*",
93+
"input": "public"
94+
}
95+
],
96+
"styles": [
97+
"src/styles.less"
98+
],
99+
"scripts": []
100+
}
101+
}
102+
}
103+
}
104+
},
105+
"cli": {
106+
"analytics": "2168fbca-b81d-47f4-a129-d9947dd3c82c"
107+
}
108+
}

0 commit comments

Comments
 (0)