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

bind

Convenience methods to work with binds

Static Method Summary

Static Public Methods
public static

register(name: string, type: string, callback: Function)

Registers a new bind

Static Public Methods

public static register(name: string, type: string, callback: Function) source

Registers a new bind

Params:

NameTypeAttributeDescription
name string
  • nullable: false

The name of the bind

type string
  • nullable: false

The type of the bind

callback Function
  • nullable: false

The callback function to use