LEVIATHAN v962456e · 962456eee1

dagon · Dom

class DomRegistry

since 0.1.0-alpha.1linux

Constructors

new

new()

Fields

factories_

Array<() => IComponent> factories_

matchers_

Array<(IComponent) => bool> matchers_

tagNames_

Array<string> tagNames_

userAppliers_

Array<(IComponent, string, string) => bool> userAppliers_

userTags_

Array<string> userTags_

Methods

applyUser

applyUser(IComponent c, string tag, string name, string value) -> bool

create

create(string tag) -> IComponent

has

has(string tag) -> bool

indexOf

indexOf(string tag) -> int

preload

preload() -> void

reg

reg(string name, () => IComponent factory, (IComponent) => bool matcher) -> void

registerTag

registerTag(string name, () => IComponent factory, (IComponent) => bool matcher, (IComponent, string, string) => bool applier) -> void

tagMatch

tagMatch(IComponent c) -> string