UNPKG

@evan.network/ui-angular-core

Version:

The angular-core operates as an global and central library for the evan.network Angular 5 frontend development. Using this project you will be able to to the following things:

41 lines (40 loc) 1.37 kB
import { ChangeDetectorRef, // @angular/core DomSanitizer } from 'angular-libs'; import { EvanDescriptionService } from '../../services/bcc/description'; import { AsyncComponent } from '../../classes/AsyncComponent'; /**************************************************************************************************/ /** * shows an generalized "Theirs no data." screen using DApp DBCP descriptions * * Usage: * <evan-empty-dapp * [text]="'_dappcontacts.nothing-found' | translate:{ filter: filterString })" * ensAddress="addressbook"> * </evan-empty-dapp> * * @class Component EmptyDAppDisplayComponent */ export declare class EmptyDAppDisplayComponent extends AsyncComponent { private description; private ref; private _DomSanitizer; /***************** inputs & outpus *****************/ /** * ens address to load the empty preview img from */ ensAddress: string; /** * text to display under neath the window */ text: string; /** * apply dynamic applied img, overwrites ensAddress img */ img: string; /***************** initialization *****************/ constructor(description: EvanDescriptionService, ref: ChangeDetectorRef, _DomSanitizer: DomSanitizer); /** * load dbcp address and set img, if not set before. */ _ngOnInit(): Promise<void>; }