Extends
Static Properties
| Name | Description |
|---|---|
| AFTER_PRINT = "afterPrint" | string Dispatched after a PrintEvent is printed. This event bubbles. This event is not cancelable. |
| BEFORE_PRINT = "beforePrint" | string Dispatched before a PrintEvent is printed. This event bubbles. This event is cancelable. |
Instance Properties
| Name | Description | Access |
|---|---|---|
| bubbles | bool If true, the event supports the bubbling phase of propagation. | read-only |
| cancelable | bool If true, the default behavior of the event on its target can be canceled. | read-only |
| currentTarget | Object The current propagation target of the event. | read-only |
| defaultPrevented | bool If true, the default behavior of the event on its target has been canceled. | read-only |
| documentPrintUiOption | DocumentPrintUiOptions UI options for print document | read-write |
| eventPhase | EventPhases The current propagation phase of the event. | read-only |
| eventType | string The name of the event. | read-only |
| id | number The unique ID of the PrintEvent. | read-only |
| index | number The index of the PrintEvent within its containing object. | read-only |
| isValid | bool Returns true if the object specifier resolves to valid objects. | read-only |
| parent | Document The parent of the PrintEvent (a Document). | read-only |
| propagationStopped | bool If true, propagation of the event beyond the current target has been stopped. | read-only |
| properties | Object A property that allows setting of several properties at the same time. | read-write |
| target | Object The target of the event. | read-only |
| timeStamp | Date The time the event was initialized. | read-only |
Methods
| getElements( | ) |
→ PrintEvent |
| toSource( | ) |
→ string |
| toSpecifier( | ) |
→ string |
-
getElements( )→ PrintEvent -
Resolves the object specifier, creating an array of object references.
-
preventDefault( ) -
Cancels the default behavior of the event on its target.
-
stopPropagation( ) -
Stops propagation of the event beyond the current target.
-
toSource( )→ string -
Generates a string which, if executed, will return the PrintEvent.
-
toSpecifier( )→ string -
Retrieves the object specifier.