FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
OpenDateTimePickerOption Class Reference

Options for opening the date and time picker. More...

Public Attributes

number clientX
 The client X coordinate for the date and time picker. More...
 
number clientY
 The client Y coordinate for the date and time picker. More...
 
HTMLElement container
 The container element for the date and time picker. More...
 
PDFDate current
 The current date to display in the picker. More...
 

Detailed Description

Options for opening the date and time picker.

Since
11.0.0

Member Data Documentation

◆ clientX

number OpenDateTimePickerOption::clientX

The client X coordinate for the date and time picker.

This is used to position the picker relative to the user's click.

◆ clientY

number OpenDateTimePickerOption::clientY

The client Y coordinate for the date and time picker.

This is used to position the picker relative to the user's click.

◆ container

HTMLElement OpenDateTimePickerOption::container

The container element for the date and time picker.

If provided, the date and time picker will be appended to this element. If not provided, the picker will be appended to the body.

◆ current

PDFDate OpenDateTimePickerOption::current

The current date to display in the picker.

If provided, the picker will be opened with this date selected. If not provided, the picker will be opened with the current date selected.

Foxit Software Corporation Logo
@2025 Foxit Software Incorporated. All rights reserved.