Skip to content

Commit

Permalink
Fix demo typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Oct 3, 2023
1 parent 4dda67c commit fe40136
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/app/components/api/tooltipoptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface TooltipOptions {
*/
tooltipPosition?: 'right' | 'left' | 'top' | 'bottom';
/**
* Position of tooltip.
* Event to show tooltip.
*/
tooltipEvent?: 'hover' | 'focus';
/**
Expand Down
45 changes: 37 additions & 8 deletions src/app/showcase/doc/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2234,7 +2234,7 @@
"optional": true,
"readonly": false,
"type": "\"focus\" | \"hover\"",
"description": "Position of tooltip."
"description": "Event to show tooltip."
},
{
"name": "appendTo",
Expand Down Expand Up @@ -9923,6 +9923,14 @@
"readonly": false,
"type": "any",
"description": "Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name)."
},
{
"name": "duplicate",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "A boolean to determine if it can be duplicate."
}
]
}
Expand Down Expand Up @@ -11627,13 +11635,41 @@
"type": "string | SafeUrl",
"description": "The source path for the main image."
},
{
"name": "srcSet",
"optional": false,
"readonly": false,
"type": "string | SafeUrl",
"description": "The srcset definition for the main image."
},
{
"name": "sizes",
"optional": false,
"readonly": false,
"type": "string",
"description": "The sizes definition for the main image."
},
{
"name": "previewImageSrc",
"optional": false,
"readonly": false,
"type": "string | SafeUrl",
"description": "The source path for the preview image."
},
{
"name": "previewImageSrcSet",
"optional": false,
"readonly": false,
"type": "string | SafeUrl",
"description": "The srcset definition for the preview image."
},
{
"name": "previewImageSizes",
"optional": false,
"readonly": false,
"type": "string",
"description": "The sizes definition for the preview image."
},
{
"name": "alt",
"optional": false,
Expand Down Expand Up @@ -24482,13 +24518,6 @@
"type": "string",
"description": "Custom style class for paginator"
},
{
"name": "paginatorStyleClass",
"optional": false,
"readonly": false,
"type": "string",
"description": "Custom style class for paginator"
},
{
"name": "paginatorDropdownAppendTo",
"optional": false,
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/doc/contextmenu/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class BasicDoc implements OnInit {
ngOnInit() {
this.items = [
{
label: '<h1>File</h1>',
label: 'File',
icon: 'pi pi-fw pi-file',
escape: false,
items: [
Expand Down
3 changes: 2 additions & 1 deletion src/app/showcase/doc/inputnumber/verticaldoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { Code } from '../../domain/code';
buttonLayout="vertical"
spinnerMode="vertical"
inputId="vertical"
[style]="{'width': '4rem'}"
decrementButtonClass="p-button-secondary"
incrementButtonClass="p-button-secondary"
incrementButtonIcon="pi pi-plus"
Expand All @@ -37,7 +38,7 @@ export class VerticalDoc {

html: `
<div class="card flex justify-content-center">
<p-inputNumber [(ngModel)]="value1" [showButtons]="true" buttonLayout="vertical" spinnerMode="vertical" inputId="vertical" decrementButtonClass="p-button-secondary"
<p-inputNumber [(ngModel)]="value1" [style]="{'width': '4rem'}" [showButtons]="true" buttonLayout="vertical" spinnerMode="vertical" inputId="vertical" decrementButtonClass="p-button-secondary"
incrementButtonClass="p-button-secondary" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"></p-inputNumber>
</div>`,

Expand Down

1 comment on commit fe40136

@vercel
Copy link

@vercel vercel bot commented on fe40136 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.