@coolon/angular-ui-powerups 12.4.0-alpha.77 → 12.4.0-alpha.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,12 +2,27 @@ import { ElementRef, OnInit } from '@angular/core';
2
2
  import { ValueModel } from '@coolon/pectin';
3
3
  import { MarkdownService } from '../../../services/markdown/markdown.service';
4
4
  import { DisposableComponent } from '../../disposable-component';
5
+ /**
6
+ * @example
7
+ * <aup-markdown [content]="..."></aup-markdown>
8
+ * <aup-markdown [content$]="stringValueModel$"></aup-markdown>
9
+ * <aup-markdown ngPreserveWhitespaces>
10
+ * # This is markdown content
11
+ *
12
+ * With a list
13
+ * - a
14
+ * - b
15
+ * </aup-markdown>
16
+ */
5
17
  export declare class MarkdownComponent extends DisposableComponent implements OnInit {
18
+ private platform;
6
19
  private readonly element;
7
20
  private readonly markdownService;
8
21
  content$: ValueModel<string>;
9
22
  content: string;
10
23
  inline: boolean;
11
- constructor(element: ElementRef, markdownService: MarkdownService);
24
+ constructor(platform: Object, element: ElementRef<HTMLElement>, markdownService: MarkdownService);
12
25
  ngOnInit(): void;
26
+ private extractInnerContent;
27
+ private renderContent;
13
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "12.4.0-alpha.77",
3
+ "version": "12.4.0-alpha.79",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.3.0",