Home Reference Source
import {BindEvent} from './vgui/15-bind-event.js'
public class | source

BindEvent

Extends:

Event → BindEvent

Event that is dispatched when a registered binding changes

Constructor Summary

Public Constructor
public

constructor(key: string, value: *)

Creates a new BindEvent

Member Summary

Public Members
public get

key: *

The key that changed

public get
public get

value: *

The new value

Inherited Summary

From class Event
public get

bubbles: *

Wether this event should bubble up the DOM tree

public get

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

Public Constructors

public constructor(key: string, value: *) source

Creates a new BindEvent

Override:

Event#constructor

Params:

NameTypeAttributeDescription
key string

The key that changed

value *

The new value

Public Members

public get key: * source

The key that changed

public get type: string source

Override:

Event#type

public get value: * source

The new value