Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Dec 6, 2023
1 parent c7f89a9 commit 177eb95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/showcase/doc/rating/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ import { Code } from '../../domain/code';
})
export class TemplateDoc {
value!: number;

code: Code = {
basic: `<p-rating [(ngModel)]="value" stars="5">
<ng-template pTemplate="cancelicon">
<ng-template pTemplate="cancel">
<img src="https://primefaces.org/cdn/primeng/images/demo/rating/cancel.png" width="25px" height="25px" />
</ng-template>
<ng-template pTemplate="onicon">
Expand All @@ -40,7 +42,7 @@ export class TemplateDoc {
html: `
<div class="card flex justify-content-center">
<p-rating [(ngModel)]="value" stars="5">
<ng-template pTemplate="cancelicon">
<ng-template pTemplate="cancel">
<img src="https://primefaces.org/cdn/primeng/images/demo/rating/cancel.png" width="25px" height="25px" />
</ng-template>
<ng-template pTemplate="onicon">
Expand Down

0 comments on commit 177eb95

Please sign in to comment.