You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Component to animate a increasing a number from 0 to its value
* @example
* <app-animated-count[digit]="5">
* </app-animated-count>
*/
@Component({
selector: 'app-animated-count',
template: '<span#animatedDigit>{{digit}}</span>',
styleUrls: ['./animated-count.component.css']
})
/**
* Component to animate a increasing a number from 0 to its value
* @example
* ```
* <app-animated-count [digit]="5">
* </app-animated-count>
* ```
*/
/**
* Component to animate a increasing a number from 0 to its value
* @example
* ```
* <app-animated-count [digit]="5">
* </app-animated-count>
* ```
*/
yeah, with that change it works.
This is kinda weird because '@example' still working on methods but no on decorated classes.
Besides I found other weird case.
Code example:
/** * directive to focus to a element once it is rendered by DOM, component o ng directive. * @example * <div> * <label for="input_name" class="field-label"> * input_name * </label> * <input type="text" name="input_name" appFocusTo> * </div> */
@Directive({selector: '[appFocusTo]'})
I test it on a method comment.
/** * Change focus to the element once it has been rendered * @example * <div> * <label for="input_name" class="field-label"> * input_name * </label> * <input type="text" name="input_name" appFocusTo> * </div> */ngAfterViewInit(){}
I think it tries to render whatever comes after '@example'.
This issue seems to have been introduced with 1.1.12. With version 1.1.11, the @example on component-doc-comments is rendered correctly, when containing html-tags. But the issue occurs when updating to 1.1.12.
However in 1.1.11, opening-tags in method-@example-comments are rendered with escaped brackets, when using custom-elements with input-bindings.
Code example:
Operating System, Node.js, npm, compodoc version(s)
windows 10 v:19042.1110
Nodejs: v14.15.5
npm: v 6.14.11
Package:
Compodoc (local): v1.1.10
Compodoc (local) v1.1.14

The text was updated successfully, but these errors were encountered: