mirror of https://github.com/ghostfolio/ghostfolio
17 changed files with 41 additions and 76 deletions
@ -0,0 +1,9 @@ |
|||
<a |
|||
class="align-items-center d-flex justify-content-center" |
|||
color="primary" |
|||
mat-fab |
|||
[queryParams]="queryParams()" |
|||
[routerLink]="[]" |
|||
> |
|||
<ion-icon size="large" [name]="icon()" /> |
|||
</a> |
|||
@ -0,0 +1,16 @@ |
|||
import { ChangeDetectionStrategy, Component, input } from '@angular/core'; |
|||
import { MatButtonModule } from '@angular/material/button'; |
|||
import { Params, RouterModule } from '@angular/router'; |
|||
import { IonIcon } from '@ionic/angular/standalone'; |
|||
|
|||
@Component({ |
|||
changeDetection: ChangeDetectionStrategy.OnPush, |
|||
imports: [IonIcon, MatButtonModule, RouterModule], |
|||
selector: 'gf-fab', |
|||
styleUrls: ['./fab.component.scss'], |
|||
templateUrl: './fab.component.html' |
|||
}) |
|||
export class GfFabComponent { |
|||
public readonly icon = input('add-outline'); |
|||
public readonly queryParams = input.required<Params>(); |
|||
} |
|||
@ -0,0 +1 @@ |
|||
export * from './fab.component'; |
|||
@ -1 +0,0 @@ |
|||
export * from './page-fab.component'; |
|||
@ -1 +0,0 @@ |
|||
<ng-content /> |
|||
@ -1,9 +0,0 @@ |
|||
import { ChangeDetectionStrategy, Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
changeDetection: ChangeDetectionStrategy.OnPush, |
|||
selector: 'gf-page-fab', |
|||
styleUrls: ['./page-fab.component.scss'], |
|||
templateUrl: './page-fab.component.html' |
|||
}) |
|||
export class GfPageFabComponent {} |
|||
Loading…
Reference in new issue