vis-util
    Preparing search index...

    Function preventDefault

    • Cancels the event's default action if it is cancelable, without stopping further propagation of the event.

      Parameters

      • event: undefined | Event

        The event whose default action should be prevented.

      Returns void