moby · Dom
class ActionRegistry
since 0.1.0-alpha.1linux
Constructors
new
new(IComponent owner)Fields
boundItems_
Array<IComponent> boundItems_boundKeys_
Array<string> boundKeys_enabled_
Array<bool> enabled_handlers_
Array<() => void> handlers_names_
Array<string> names_owner_
IComponent owner_Methods
add
add(string name, () => void handler) -> ActionRegistrybindItem
bindItem(IComponent item, string key) -> voidfire
fire(string name) -> boolhas
has(string name) -> boolindexOf
indexOf(string name) -> intisEnabled
isEnabled(string name) -> boolremove
remove(string name) -> voidsetEnabled
setEnabled(string name, bool on) -> void