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:

49 lines (48 loc) 1.38 kB
import { OnInit, // @angular/forms DomSanitizer, ChangeDetectorRef, AfterViewInit } from 'angular-libs'; import { EvanTranslationService } from '../../services/ui/translate'; /**************************************************************************************************/ /** * Shows an image on fullscreen (optimized for modal dialogs) * * Usage: * openPictureDetail(dataUrl) { * try { * return this.modalService.showBigPicture( * 'alertTitle', * 'alertText', * dataUrl, * ); * } catch (ex) { } * } * * @class Component BigPictureDialog */ export declare class BigPictureDialog implements OnInit, AfterViewInit { private translate; private _DomSanitizer; private ref; /***************** variables *****************/ /** * img input, that is provided from the modal service */ private img; /** * resolvle function that is applied from modal service */ private resolveDialog; /** * reject function that is applied from modal service */ private rejectDialog; /** * loading indicator */ private loading; /***************** initialization *****************/ constructor(translate: EvanTranslationService, _DomSanitizer: DomSanitizer, ref: ChangeDetectorRef); /** * Update UI onetime */ ngOnInit(): void; }