feat(loading screen): add angular wrapper
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<scan-loading-screen></scan-loading-screen>
|
||||
@@ -0,0 +1,6 @@
|
||||
:host {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ScanLoadingScreen } from './scan-loading-screen';
|
||||
|
||||
describe('ScanLoadingScreen', () => {
|
||||
let component: ScanLoadingScreen;
|
||||
let fixture: ComponentFixture<ScanLoadingScreen>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ScanLoadingScreen]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ScanLoadingScreen);
|
||||
component = fixture.componentInstance;
|
||||
await fixture.whenStable();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-scan-loading-screen',
|
||||
imports: [],
|
||||
templateUrl: './scan-loading-screen.html',
|
||||
styleUrl: './scan-loading-screen.scss',
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class ScanLoadingScreen {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user