This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license | |
* Copyright Google LLC All Rights Reserved. | |
* | |
* Use of this source code is governed by an MIT-style license that can be | |
* found in the LICENSE file at https://angular.io/license | |
*/ | |
import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef, ɵstringify as stringify} from '@angular/core'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
/** | |
* This is unit test code for StringValidator using karma. | |
*/ | |
import { ComponentFixture, TestBed } from '@angular/core/testing'; | |
import { | |
FormBuilder, | |
FormGroup, | |
FormsModule, | |
ReactiveFormsModule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar> | |
<ion-title></ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<ion-card> | |
<ion-card-header> | |
<ion-card-title class="card-title">ログイン</ion-card-title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar> | |
<ion-buttons slot="start"> | |
<ion-back-button></ion-back-button> | |
</ion-buttons> | |
<ion-title>利用規約</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar> | |
<ion-buttons slot="start"> | |
<ion-back-button></ion-back-button> | |
</ion-buttons> | |
<ion-title>プライバシーポリシー</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { | |
HttpEvent, | |
HttpInterceptor, | |
HttpHandler, | |
HttpRequest | |
} from '@angular/common/http'; | |
import { Observable } from 'rxjs'; | |
import { finalize } from 'rxjs/operators'; | |
import { SpinnerService } from './spinner.service'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Subject } from 'rxjs'; | |
/** | |
* スピナーの表示を制御するサービス | |
* | |
* @export | |
* @class SpinnerService | |
*/ | |
@Injectable() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div *ngIf="isLoading | async" class="overlay"> | |
<mat-progress-spinner class="spinner" [color]="color" [mode]="mode" [value]="value"></mat-progress-spinner> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.overlay { | |
position: fixed; | |
display: block; | |
width: 100%; | |
height: 100%; | |
top: 0; | |
left: 0; | |
background-color: rgba(74, 74, 74, .4); | |
z-index: 99999; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { Subject } from 'rxjs'; | |
import { SpinnerService } from '../../services/spinner.service'; | |
@Component({ | |
selector: 'app-spinner', | |
templateUrl: './spinner.component.html', | |
styleUrls: ['./spinner.component.scss'] | |
}) | |
export class SpinnerComponent { |
NewerOlder