@univerjs-pro/sheets-print v0.5.4


Interface: IFSheetPrintEventName

Defined in: packages/sheets-print/src/facade/f-event.ts:92

Constants for sheet print event names

Properties

PropertyModifierTypeDescriptionDefined in
BeforeSheetPrintCanceledreadonly"BeforeSheetPrintCanceled"Event triggered before print operation is canceled Example ts univerAPI.addEvent(univerAPI.event.BeforeSheetPrintCanceled, (params) => { const { renderConfig, layoutConfig } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:125
BeforeSheetPrintConfirmreadonly"BeforeSheetPrintConfirm"Event triggered before print settings are confirmed Example ts univerAPI.addEvent(univerAPI.event.BeforeSheetPrintConfirm, (params) => { const { renderConfig, layoutConfig } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:114
BeforeSheetPrintOpenreadonly"BeforeSheetPrintOpen"Event triggered before print dialog opens Example ts univerAPI.addEvent(univerAPI.event.BeforeSheetPrintOpen, (params) => { const { workbook, worksheet } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:103
SheetPrintCanceledreadonly"SheetPrintCanceled"Event triggered when print operation is canceled Example ts univerAPI.addEvent(univerAPI.event.SheetPrintCanceled, (params) => { const { renderConfig, layoutConfig } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:158
SheetPrintConfrimedreadonly"SheetPrintConfrimed"Event triggered when print settings are confirmed Example ts univerAPI.addEvent(univerAPI.event.SheetPrintConfrimed, (params) => { const { renderConfig, layoutConfig } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:147
SheetPrintOpenreadonly"SheetPrintOpen"Event triggered when print dialog opens Example ts univerAPI.addEvent(univerAPI.event.SheetPrintOpen, (params) => { const { workbook, worksheet } = params; console.log('params', params); });packages/sheets-print/src/facade/f-event.ts:136