Test helper to control a date-time custom element.
new DateTimeHelper(el.querySelector('some-dialog date-time')).set(new Date("2023-01-01T01:01:01.000Z")); Copy
new DateTimeHelper(el.querySelector('some-dialog date-time')).set(new Date("2023-01-01T01:01:01.000Z"));
Readonly
Get the currently selected date or null if empty. If the current value is a Date object, it is copied.
Set the date and time value from the specified date object.
Test helper to control a date-time custom element.
Example