UNPKG

ng-realmark

Version:

Real-time Markdown W/ Markdown three way merge

33 lines (32 loc) 957 B
import { RealMarkService } from '../service/realmark.service'; import { Sanitizer } from '@angular/core'; export declare class DiffComponent { private realMarkService; private sanitizer; codeBlock: string; _showMarkdown: boolean; _showDeleted: boolean; showDeletedText: string; showMarkdownText: string; _content: string; _original: string; output: string; constructor(realMarkService: RealMarkService, sanitizer: Sanitizer); showDeleted: boolean; showMarkdown: boolean; content: string; original: string; /** * Changes value of showDeleted and re-evaluate compateMarkdown. Also updates button text. */ deletedClick(): void; /** * Changes value of showMarkdown and re-evaluate compateMarkdown. Also updates button text. */ markdownClick(): void; /** * set element to update and run updateDiff(). */ ngOnInit(): void; updateDiff(): void; }