import {CurrentDefaultButtonSetEvent} from './vgui/20-current-default-button-set-event.js'
CurrentDefaultButtonSetEvent
Extends:
Event → SourceEvent → CurrentDefaultButtonSetEvent
Usually emitted by buttons when they become the default button (will responed to ENTER/SPACE).
Constructor Summary
Public Constructor | ||
public |
constructor(button: *) |
Inherited Summary
From class Event | ||
public get |
bubbles: * Wether this event should bubble up the DOM tree |
|
public get |
cancelable: * Wether preventDefault can be called to stop the default action |
|
public get |
target: * The element where the Event originated |
|
public get |
The type of the event |
|
public |
Prevents the default action from happening. |
|
public |
Stops the event from bubbling up. |
|
protected |
_cancel() |
From class SourceEvent | ||
public get |
Wether this event should be thrown back to the source engine after passing through here |
|
public get |
|
|
public |
data: * |
Public Constructors
public constructor(button: *) source
Override:
SourceEvent#constructorParams:
Name | Type | Attribute | Description |
button | * |