style: format HTML and TypeScript code for consistency
This commit is contained in:
parent
ba520eea10
commit
739475ffcf
7 changed files with 40 additions and 18 deletions
|
@ -1,4 +1,8 @@
|
|||
<button mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu">
|
||||
<button
|
||||
mat-icon-button
|
||||
[matMenuTriggerFor]="menu"
|
||||
aria-label="Example icon-button with a menu"
|
||||
>
|
||||
<mat-icon>more_vert</mat-icon>
|
||||
</button>
|
||||
<mat-menu #menu="matMenu">
|
||||
|
|
|
@ -8,9 +8,8 @@ describe('OptionsMenuComponent', () => {
|
|||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [OptionsMenuComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
imports: [OptionsMenuComponent],
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(OptionsMenuComponent);
|
||||
component = fixture.componentInstance;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {MatIconModule} from '@angular/material/icon';
|
||||
import {MatMenuModule} from '@angular/material/menu';
|
||||
import {MatButtonModule} from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { LogoutService } from '../service/logout.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-options-menu',
|
||||
imports: [MatIconModule, MatMenuModule, MatButtonModule],
|
||||
templateUrl: './options-menu.component.html',
|
||||
styleUrl: './options-menu.component.css'
|
||||
styleUrl: './options-menu.component.css',
|
||||
})
|
||||
export class OptionsMenuComponent {
|
||||
constructor(private logoutService: LogoutService) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue