API Docs
Complete API documentation for the Hosanna UI library (v0.9.0). This documentation includes detailed information about components, modules, interfaces, and utilities.
View API Documentation
Modules
The API documentation is organized into the following key modules:
Core Modules
- Commands: Core command handling and dispatch system
- Decorators: TypeScript decorators for views and commands
- Events: Event handling and propagation
- Services: Core services like timing and async management
- Views: Base view classes and view management
UI Components
- Controls: Native UI controls (buttons, inputs, etc.)
- Groups: Layout grouping components
- Primitives: Basic UI building blocks
- Styles: Styling system and theme management
Utilities
- Async: Asynchronous operation utilities
- Networking: HTTP and networking capabilities
- Platform: Platform-specific implementations
- Testing: Test utilities and mocks
View Full Modules Documentation
Classes
The API documentation includes detailed information about key classes in the framework:
View Classes
- BaseView: Base class for all views
- ViewState: Manages view state and lifecycle
- ViewStruct: Defines view structure and hierarchy
- ViewManager: Handles view creation and management
Command Classes
- AsyncCommand: Base class for asynchronous commands
- CommandManager: Manages command registration and dispatch
- HttpCommands: HTTP request command implementations
- BackgroundCommands: Background task command implementations
Service Classes
- TimerService: Handles timing and scheduling
- AsyncManager: Manages asynchronous operations
- StyleService: Provides styling and theming capabilities
- PlatformService: Platform-specific service implementations
Utility Classes
- HsPromise: Custom promise implementation
- HsFetch: Cross-platform fetch implementation
- HsObservable: Observable pattern implementation
- HsLogger: Logging utility class