Home Reference Source
import {Commands} from './ui/commands/commands.js'
public class | source

Commands

Static Member Summary

Static Public Members
public static

commands: CommandObject[]

Static Method Summary

Static Public Methods
public static

exec(cmd: string)

public static

getById(id: string): *

public static

getCommandByFunction(func: function): *

public static

getCommandByName(name: string): *

public static

getKeyBindableCommands(): CommandObject[]

public static

init()

Static Public Members

public static commands: CommandObject[] source

Static Public Methods

public static exec(cmd: string) source

Params:

NameTypeAttributeDescription
cmd string

public static getById(id: string): * source

Params:

NameTypeAttributeDescription
id string

Return:

*

public static getCommandByFunction(func: function): * source

Params:

NameTypeAttributeDescription
func function

Return:

*

public static getCommandByName(name: string): * source

Params:

NameTypeAttributeDescription
name string

Return:

*

public static getKeyBindableCommands(): CommandObject[] source

Return:

CommandObject[]

public static init() source