docs(elements): add link to full example in elements
guide (#25219)
PR Close #25219
This commit is contained in:
parent
1b4269ad85
commit
f1223628a6
9
aio/content/examples/elements/stackblitz.json
Normal file
9
aio/content/examples/elements/stackblitz.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "Angular Elements",
|
||||||
|
"files":[
|
||||||
|
"!**/*.d.ts",
|
||||||
|
"!**/*.js",
|
||||||
|
"!**/*.[1].*"
|
||||||
|
],
|
||||||
|
"tags":["cookbook"]
|
||||||
|
}
|
@ -158,3 +158,9 @@ For comparison, the demo shows both methods. One button adds the popup using the
|
|||||||
|
|
||||||
</code-pane>
|
</code-pane>
|
||||||
</code-tabs>
|
</code-tabs>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
StackBlitz transpiles code to ES5. The live example will not work without a polyfill.
|
||||||
|
Only offer a `.zip` to download for now.
|
||||||
|
-->
|
||||||
|
You can download the full code for the example <live-example downloadOnly>here</live-example>.
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"scripts": [
|
||||||
|
{ "name": "ng", "command": "ng" },
|
||||||
|
{ "name": "build", "command": "ng build" },
|
||||||
|
{ "name": "start", "command": "ng serve" },
|
||||||
|
{ "name": "test", "command": "ng test" },
|
||||||
|
{ "name": "lint", "command": "ng lint" },
|
||||||
|
{ "name": "e2e", "command": "ng e2e" }
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
"@angular/elements"
|
||||||
|
],
|
||||||
|
"devDependencies": [
|
||||||
|
"@angular-devkit/build-angular",
|
||||||
|
"@angular/cli",
|
||||||
|
"@types/jasminewd2",
|
||||||
|
"jasmine-spec-reporter",
|
||||||
|
"karma-coverage-istanbul-reporter",
|
||||||
|
"ts-node"
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user