platform-components-ng/projects/platform-components-lib/src/lib/components/collection/qpp-publishing-preview/qpp-publishing-preview.component.ts
Qpp publishing preview component
| selector | qpp-publishing-preview |
| templateUrl | ./qpp-publishing-preview.component.html |
Properties |
Methods |
Inputs |
Outputs |
Accessors |
constructor(publishingService: PublishingService)
|
||||||
|
Parameters :
|
| currentZoom |
Type : number
|
| downloadInProgress |
Type : boolean
|
| preventChannelChange |
Default value : false
|
| previewUrls |
Type : string[]
|
| publishingChannels |
Type : PublishingChannel[]
|
| scrollToPage |
Type : number
|
| selectedPublishingChannel |
Type : PublishingChannel
|
| showLoader |
Type : boolean
|
| showPreviewBtn |
Default value : false
|
| showStatusBar |
Default value : false
|
| statusBarConfig |
Type : PublishingStatus
|
| downloadButtonClick |
Type : EventEmitter
|
| openInNewTabButtonClick |
Type : EventEmitter
|
| previewButtonClick |
Type : EventEmitter
|
| publishingChannelValueChange |
Type : EventEmitter
|
| refreshButtonClick |
Type : EventEmitter
|
| adjustImageZoom | ||||||
adjustImageZoom(zoom: string)
|
||||||
|
Adjust image zoom
Parameters :
Returns :
void
void |
| download |
download()
|
|
Download
Returns :
void
void |
| generatePreview |
generatePreview()
|
|
Generate preview
Returns :
void
void |
| iframeClickHandler |
iframeClickHandler()
|
|
Handle iframe click event
Returns :
void
void |
| ngOnChanges | ||||||
ngOnChanges(changes: SimpleChanges)
|
||||||
|
Parameters :
Returns :
void
|
| openInNewTab |
openInNewTab()
|
|
Open in new tab
Returns :
void
void |
| publishingChannelSelected | ||||||
publishingChannelSelected(publishingChannel: PublishingChannel)
|
||||||
|
Publishing channel selected
Parameters :
Returns :
void
void |
| refreshPreview |
refreshPreview()
|
|
Refresh preview
Returns :
void
void |
| disableOpenInNewTabBtn |
Default value : true
|
| hostingEl |
Type : ElementRef
|
Decorators :
@ViewChild('hostingEl')
|
| isImageZoomed |
Default value : false
|
| PREVIEW_TYPE |
Default value : PREVIEW_TYPE
|
| previewFactor |
Type : number
|
Default value : 1
|
| progressStatusBar |
Type : ElementRef
|
Decorators :
@ViewChild('progressBarEl', {read: ElementRef})
|
| publishingChannelDD |
Type : QwcSelectComponent
|
Decorators :
@ViewChild(QwcSelectComponent)
|
| publishingChannelsDDConfig |
Type : QwcSelectConfig
|
Default value : new QwcSelectConfig({
placeHolder: "Preview Type",
searchable: false,
itemSize: 36,
dropdownAlignCenter: true,
popoverClass: "pp-chanel-dd-content"
})
|
| randomNumber |
Default value : new Date().getTime()
|
| statusBarDescription |
Type : string | undefined
|
| statusBarProgress |
Type : number | undefined
|
| statusBarTitle |
Type : string | undefined
|
| scrollToPage | ||||||
getscrollToPage()
|
||||||
setscrollToPage(_scrollToPage: number)
|
||||||
|
Parameters :
Returns :
void
|