vue-mvvm / core
core
Namespaces
| Namespace | Description |
|---|---|
| AppShell | - |
| reactive | - |
| syncio | - |
Enumerations
| Enumeration | Description |
|---|---|
| DelegateMode | Enum representing the modes of delegation. |
Classes
| Class | Description |
|---|---|
| ActionContext | Represents the context for executing an action, allowing the action to be completed successfully or failed with an error. |
| AsyncServiceKey | Can be used to register a service that lives not in a class. Additionally, the factory function is defined as async. |
| Delegate | Represents a delegate mechanism for subscribing and invoking callback functions. |
| DialogControlMismatchError | - |
| HookUsageError | - |
| InvalidServiceInstanceError | - |
| MissingComponentMetadataError | - |
| MVVMError | - |
| ServiceAlreadyRegisteredError | - |
| ServiceKey | Can be used to register a service that lives not in a class. |
| ServiceNotRegisteredError | - |
| UserControl | The UserControl class provides a foundation for creating reusable and interactive UI components within an application. |
| ViewModel | The ViewModel is the lowest possible abstraction class in MVVM. It declares basic Vue lifecycle hooks |
Interfaces
| Interface | Description |
|---|---|
| Action | Represents a unit of work or operation that eventually produces a result. |
| AppShell | Represents the configuration shell of an MVVM application. |
| ReadableGlobalContext | Provides a read-only interface for accessing the global context |
| WatchHandle | An interface representing a handle to control a watcher |
| WritableGlobalContext | Provides an interface for accessing the global context |
Type Aliases
| Type Alias | Description |
|---|---|
| ActionResult | Represents the result of an action that can either succeed with data or fail with an error. |
| AsyncFactoryFunction | - |
| DelegateCallback | Represents a callback function that can handle arguments of a specific type and optionally return a Promise for asynchronous execution. |
| DelegateRevoke | Represents a function type used to revoke a delegation. |
| FactoryFunction | - |
| UserControlConstructor | A type definition for a valid UserControl class constructor. |
| ViewModelConstructor | A type definition for a valid ViewModel class constructor. |
Variables
| Variable | Description |
|---|---|
| MVVMApp | Can be used as the application entry point, when no further App layouting is required. |
Functions
| Function | Description |
|---|---|
| createMVVM | Configures and prepares a Vue.js App to use the MVVM Library |
| getGlobalContext | Gets a readable access point to the global DI container |
| useUserControl | Binds a UserControl to the current View |
| useViewModel | Binds a ViewModel to the current View |