Edit in GitHubLog an issue

PrintEvent

A print event

Class

Read Only

String BEFORE_PRINT = beforePrint

Dispatched before a PrintEvent is printed. This event bubbles. This event is cancelable.


Read Only

String AFTER_PRINT = afterPrint

Dispatched after a PrintEvent is printed. This event bubbles. This event is not cancelable.

Instance

Read Only

String eventType

The name of the event.


Read Only

Object target

The target of the event.


Read Only

Object currentTarget

The current propagation target of the event.


Read Only

EventPhases eventPhase

The current propagation phase of the event.


Read Only

Boolean bubbles

If true, the event supports the bubbling phase of propagation.


Read Only

Boolean cancelable

If true, the default behavior of the event on its target can be canceled.


Read Only

Date timeStamp

The time the event was initialized.


Read Only

Boolean propagationStopped

If true, propagation of the event beyond the current target has been stopped.


Read Only

Boolean defaultPrevented

If true, the default behavior of the event on its target has been canceled.


Read Only

Number id

The unique ID of the PrintEvent.


Read Only

Boolean isValid

Returns true if the object specifier resolves to valid objects.


Read Only

Document parent

The parent of the PrintEvent (a Document).


Read Only

Number index

The index of the PrintEvent within its containing object.


DocumentPrintUiOptions documentPrintUiOption

UI options for print document


Object properties

A property that allows setting of several properties at the same time.

Methods

stopPropagation()

Stops propagation of the event beyond the current target.


preventDefault()

Cancels the default behavior of the event on its target.


String toSource()

Generates a string which, if executed, will return the PrintEvent.


PrintEvent getElements()

Resolves the object specifier, creating an array of object references.


String toSpecifier()

Retrieves the object specifier.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.