moby · 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) -> boolcreate
create(string tag) -> IComponenthas
has(string tag) -> boolindexOf
indexOf(string tag) -> intpreload
preload() -> voidreg
reg(string name, () => IComponent factory, (IComponent) => bool matcher) -> voidregisterTag
registerTag(string name, () => IComponent factory, (IComponent) => bool matcher, (IComponent, string, string) => bool applier) -> voidtagMatch
tagMatch(IComponent c) -> string