Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
feat(app-bar-tab): remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian committed Nov 15, 2019
1 parent 1f486dc commit e1790b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ import { FivAppBar } from '../app-bar.component';
styleUrls: ['./app-bar-tab.component.scss']
})
export class FivAppBarTab implements OnInit {
@Input() name: string;
@Input() tab: string;
@Input() href: string;
@Input() type: 'bounded' | 'unbounded' = 'unbounded';
@Input() badge = -1;

get active() {
return this.router.url.endsWith(this.href);
Expand Down
8 changes: 4 additions & 4 deletions src/app/pages/app-bar/app-bar.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
<fiv-icon #iconFeature="fivFeature" [fivFeature]="feature" name="color-wand"></fiv-icon>
</fiv-fab>

<fiv-app-bar-tab left tab="tab1" href="/tab1" name="App Bar">
<fiv-app-bar-tab left tab="tab1" href="/tab1">
<fiv-icon name="md-home"></fiv-icon>
<ion-label>Home</ion-label>
</fiv-app-bar-tab>
<fiv-app-bar-tab left tab="tab2" href="/tab2" name="Expandable">
<fiv-app-bar-tab left tab="tab2" href="/tab2">
<fiv-icon #tabFeature="fivFeature" [fivFeature]="feature" name="md-images"></fiv-icon>
<ion-label>Images</ion-label>
</fiv-app-bar-tab>
<fiv-app-bar-tab right tab="tab3" href="/tab3" name="Password">
<fiv-app-bar-tab right tab="tab3" href="/tab3">
<fiv-icon [badge]="1" name="md-pizza"></fiv-icon>
<ion-label>Pizza</ion-label>
</fiv-app-bar-tab>
<fiv-app-bar-tab right tab="tab4" href="/tab4" icon="md-more" name="Buttons">
<fiv-app-bar-tab right tab="tab4" href="/tab4" icon="md-more">
<fiv-icon name="md-more"></fiv-icon>
<ion-label>More</ion-label>
</fiv-app-bar-tab>
Expand Down

0 comments on commit e1790b2

Please sign in to comment.