styles
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user