Skip to content

vue-mvvm / core

core

Namespaces

NamespaceDescription
AppShell-
reactive-
syncio-

Enumerations

EnumerationDescription
DelegateModeEnum representing the modes of delegation.

Classes

ClassDescription
ActionContextRepresents the context for executing an action, allowing the action to be completed successfully or failed with an error.
AsyncServiceKeyCan be used to register a service that lives not in a class. Additionally, the factory function is defined as async.
DelegateRepresents a delegate mechanism for subscribing and invoking callback functions.
DialogControlMismatchError-
HookUsageError-
InvalidServiceInstanceError-
MissingComponentMetadataError-
MVVMError-
ServiceAlreadyRegisteredError-
ServiceKeyCan be used to register a service that lives not in a class.
ServiceNotRegisteredError-
UserControlThe UserControl class provides a foundation for creating reusable and interactive UI components within an application.
ViewModelThe ViewModel is the lowest possible abstraction class in MVVM. It declares basic Vue lifecycle hooks

Interfaces

InterfaceDescription
ActionRepresents a unit of work or operation that eventually produces a result.
AppShellRepresents the configuration shell of an MVVM application.
ReadableGlobalContextProvides a read-only interface for accessing the global context
WatchHandleAn interface representing a handle to control a watcher
WritableGlobalContextProvides an interface for accessing the global context

Type Aliases

Type AliasDescription
ActionResultRepresents the result of an action that can either succeed with data or fail with an error.
AsyncFactoryFunction-
DelegateCallbackRepresents a callback function that can handle arguments of a specific type and optionally return a Promise for asynchronous execution.
DelegateRevokeRepresents a function type used to revoke a delegation.
FactoryFunction-
UserControlConstructorA type definition for a valid UserControl class constructor.
ViewModelConstructorA type definition for a valid ViewModel class constructor.

Variables

VariableDescription
MVVMAppCan be used as the application entry point, when no further App layouting is required.

Functions

FunctionDescription
createMVVMConfigures and prepares a Vue.js App to use the MVVM Library
getGlobalContextGets a readable access point to the global DI container
useUserControlBinds a UserControl to the current View
useViewModelBinds a ViewModel to the current View