Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(markdown): Added documentation. Triggering semantic versioning. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkleinhenz committed May 17, 2018
1 parent effb563 commit 6199866
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/markdown/markdown.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ import { SafeHtml } from '@angular/platform-browser';
styleUrls: ['./markdown.component.less'],
templateUrl: './markdown.component.html'
})

/**
* Implements a markdown component. Important: in order that the checkbox
* feature is working, the rendered content set using the attribute needs
* to be wrapped into a SafeValue instance. This prevents the sanitizer
* to strip the input fields needed for the checkboxes from the rendered
* html.
*/
export class MarkdownComponent implements OnChanges, OnInit, AfterViewChecked {

@Input() fieldName: string = 'Description';
Expand Down

0 comments on commit 6199866

Please sign in to comment.