This commit is contained in:
Tizian.Breuch
2025-09-08 19:27:46 +02:00
parent ee8974e2ff
commit c65aef11ca
66 changed files with 1691 additions and 108 deletions

View File

@@ -1 +1,16 @@
<p>button works!</p>
<button
[type]="type"
[disabled]="disabled"
class="btn"
[class.btn-primary]="color === 'primary'"
[class.btn-secondary]="color === 'secondary'"
[class.btn-stroked]="color === 'stroked'"
[class.btn-flat]="color === 'flat'"
[class.btn-icon]="color === 'icon' || color === 'icon-danger'"
[class.btn-icon-danger]="color === 'icon-danger'"
[class.btn-full-width]="fullWidth"
[attr.data-tooltip]="tooltip">
<!-- ng-content erlaubt es, Text oder SVGs von außen in den Button einzufügen -->
<ng-content></ng-content>
</button>