UNPKG

@ohayojp.com/components

Version:

Common business components of ohayojp.

27 lines (26 loc) 893 B
import { OnDestroy, OnInit } from '@angular/core'; import { DomSanitizer, SafeHtml, SafeUrl } from '@angular/platform-browser'; import { OhayoLocaleService, LocaleData } from '@ohayojp.com/theme'; export declare type ExceptionType = 403 | 404 | 500; export declare class ExceptionComponent implements OnInit, OnDestroy { private i18n; private dom; static ngAcceptInputType_type: ExceptionType | string; private i18n$; private conTpl; _type: ExceptionType; locale: LocaleData; hasCon: boolean; _img: SafeUrl; _title: SafeHtml; _desc: SafeHtml; set type(value: ExceptionType); private fixImg; set img(value: string); set title(value: string); set desc(value: string); checkContent(): void; constructor(i18n: OhayoLocaleService, dom: DomSanitizer); ngOnInit(): void; ngOnDestroy(): void; }