P3X GitList Demo
GitHub
Repo
Changelog
To do
Releases
Themes
Language
Auto
Afrikaans
العربية
বাংলা
Català
Čeština
Dansk
Deutsch
Ελληνικά
English
Español
Suomi
Français
עברית
Magyar
Italiano
日本語
한국어
Nederlands
Norsk
Polski
Português
Română
Русский
Српски
Svenska
Türkçe
Українська
Tiếng Việt
中文
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
57cc3872a0b54e2a9f7fc62142198639c3b7ce10
Branches
main
Tags
1.1.129-287
1.1.113-149
1.1.108-143
1.1.95-138
1.1.92-119
1.0.35-18
1.0.13-14
Files
Commits
Log
Graph
Stats
angular-compile.git
src
app
app.component.html
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Delete
Are you sure to delete this file?
Editor
Raw
Blame
History
3kB
69 lines
HTML code
Clone
HTTPS
This file (3kB) exceeds the allowed full mode (48 kb) size. The editor full height is disabled, only scrolling is allowed.
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height mode.
src/app/app.component.html
<br/> <div style="margin: 0 auto 18px; max-width: 700px; padding-left: 10px; padding-right: 10px;"> <mat-toolbar color="primary" style="border-top-left-radius: 6px; border-top-right-radius: 6px;"> P3X Angular Compile v{{ version }} </mat-toolbar> <mat-card appearance="outlined" style="border-radius: 0; padding: 10px; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px;"> <a mat-button mat-stroked-button color="primary" target="_blank" class="mat-headline-6" href="https://corifeus.com/angular-compile">Corifeus.com Wiki</a> <a mat-button mat-stroked-button color="primary" target="_blank" href="https://github.com/patrikx3/angular-compile/blob/master/src/app/app.component.ts">How it works from the code in GitHub, some examples</a> <br/> <strong>Go ahead and inspect the elements and click away!!!</strong> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Template 1</div> <div [p3x-compile]="data1" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></div> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Template 2</div> <div [p3x-compile]="data2" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></div> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Template 3</div> <div [p3x-compile]="data3" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></div> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Template 4 - Re-use the same context</div> @if (true) { <div [p3x-compile]="data2" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></div> } <br/> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Pure Router Link with JIT Angular</div> <button mat-button mat-flat-button color="accent" (click)="randomRouterLinkPure()">Generate new router link</button> <span [p3x-compile]="dataRouterLink" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></span> <br/> <br/> <mat-divider></mat-divider> <br/> <div class="mat-h1">Router Link with p3x-angular-compile</div> <div [p3x-compile]="dataMaterial" [p3x-compile-ctx]="this" [p3x-compile-module]="dataMaterialModule" class="p3x-angular-compile-element"></div> </mat-card> <br/> </div>
Keyboard shortcuts
/
Focus search
?
Show this help
Esc
Unfocus input