first commit
This commit is contained in:
3
src/app/content/icons/feather/feather.component.css
Normal file
3
src/app/content/icons/feather/feather.component.css
Normal file
@@ -0,0 +1,3 @@
|
||||
:host ::ng-deep .block-ui-wrapper {
|
||||
background: rgba(255, 249, 249, 0.5) !important;
|
||||
}
|
||||
1707
src/app/content/icons/feather/feather.component.html
Normal file
1707
src/app/content/icons/feather/feather.component.html
Normal file
File diff suppressed because it is too large
Load Diff
25
src/app/content/icons/feather/feather.component.spec.ts
Normal file
25
src/app/content/icons/feather/feather.component.spec.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
|
||||
import { FeatherComponent } from './feather.component';
|
||||
|
||||
describe('FeatherComponent', () => {
|
||||
let component: FeatherComponent;
|
||||
let fixture: ComponentFixture<FeatherComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ FeatherComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(FeatherComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
52
src/app/content/icons/feather/feather.component.ts
Normal file
52
src/app/content/icons/feather/feather.component.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { NgBlockUI, BlockUI } from 'ng-block-ui';
|
||||
|
||||
@Component({
|
||||
selector: 'app-feather',
|
||||
templateUrl: './feather.component.html',
|
||||
styleUrls: ['./feather.component.css']
|
||||
})
|
||||
export class FeatherComponent implements OnInit {
|
||||
|
||||
@BlockUI('featherIcons') blockUIFeatherIcons: NgBlockUI;
|
||||
|
||||
public breadcrumb: any;
|
||||
|
||||
options = {
|
||||
close: true,
|
||||
expand: true,
|
||||
minimize: true,
|
||||
reload: true
|
||||
};
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
this.breadcrumb = {
|
||||
'mainlabel': 'Feather Icons',
|
||||
'links': [
|
||||
{
|
||||
'name': 'Home',
|
||||
'isLink': true,
|
||||
'link': '/dashboard/sales'
|
||||
},
|
||||
{
|
||||
'name': 'Icons',
|
||||
'isLink': true,
|
||||
'link': '#'
|
||||
},
|
||||
{
|
||||
'name': 'Feather Icons',
|
||||
'isLink': false
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
reloadFeatherIcons() {
|
||||
this.blockUIFeatherIcons.start('Loading..');
|
||||
|
||||
setTimeout(() => {
|
||||
this.blockUIFeatherIcons.stop();
|
||||
}, 2500);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user