UNPKG

@asi-ngtools/lib

Version:

This project is a little components library, simple to use, which will help you to simplify your project.

19 lines (18 loc) 616 B
import { SimpleChange, OnInit, OnChanges } from '@angular/core'; import { AsiFileService } from './../../services/asi-file.service'; export declare class AsiCodeViewer implements OnInit, OnChanges { private fileService; private platformId; /** language of the code to be displayed */ language: string; /** load code from url */ fromUrl: string; /** code from string value */ value: string; hightlightCode: any; constructor(fileService: AsiFileService, platformId: any); ngOnInit(): void; ngOnChanges(change: { [propName: string]: SimpleChange; }): void; }