@nospamproxy/core
    Preparing search index...

    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"));
    
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • element: Element

      Returns DateTimeHelper

    Properties

    element: Element

    Accessors

    • get date(): Date | null

      Get the currently selected date or null if empty. If the current value is a Date object, it is copied.

      Returns Date | null

    Methods

    • Set the date and time value from the specified date object.

      Parameters

      • date: Date
      • waitForTasks: () => Promise<void>

      Returns Promise<void>