- Preparing search index...
- The search index is not available
@vcmap/core
Methods
create
- create(className, ...args): undefined | InstanceType<T>
-
Parameters
-
className: string
-
Rest
...args: unknown[]
Returns undefined | InstanceType<T>
createFromTypeOptions
- createFromTypeOptions(options, ...args): undefined | InstanceType<T>
-
Returns undefined | InstanceType<T>
getClass
- getClass(className): undefined | Ctor<T>
-
Returns undefined | Ctor<T>
getClassNames
- getClassNames(): string[]
-
Returns string[]
hasClass
- hasClass(className): boolean
-
Returns boolean
registerClass
- registerClass(className, ctor): void
-
Parameters
-
className: string
-
ctor: Ctor<T>
Returns void
Properties
Private
_classMap
_classMap: Map<string, Ctor<T>>
Gets the constructor for a registered class or undefined, if no such class was registerd