nativeapi library
Classes
- AccessibilityManager
- BaseEventEmitter
- Base class that implements EventEmitter as a class instead of mixin. Use this when you can't use the mixin (e.g., when extending another class).
-
CallbackEventListener<
T extends Event> - A callback-based event listener that wraps function callbacks into the EventListener interface.
- ContextMenuRegion
- A widget that wraps a child and adds context menu functionality.
- Display
- DisplayManager
- Event
- Base class for all events in the generic event system. Events should inherit from this class and provide their own data.
-
EventListener<
T extends Event> - Generic event listener interface providing type-safe event handling.
- Image
- A cross-platform image class for handling images across different platforms.
- Menu
- MenuClosedEvent
- MenuEvent
- MenuItem
- MenuItemClickedEvent
- MenuItemEvent
- MenuOpenedEvent
- Offset
- An immutable 2D floating-point offset.
- PositioningStrategy
- Strategy for determining where to position UI elements.
- Preferences
- Platform-specific preferences storage implementation.
- Rect
- An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.
- SecureStorage
- Platform-specific secure storage implementation.
- Size
- Holds a 2D floating-point size.
- Storage
- Abstract interface for key-value storage, similar to Web Storage API.
- TrayIcon
- TrayIconClickedEvent
- TrayIconDoubleClickedEvent
- TrayIconEvent
- TrayIconRightClickedEvent
- TrayManager
- Window
- A cross-platform window abstraction.
- WindowBlurredEvent
- Event emitted when a window loses focus.
- WindowClosedEvent
- Event emitted when a window is closed.
- WindowCreatedEvent
- Event emitted when a window is created.
- WindowEvent
- Base class for all window-related events.
- WindowFocusedEvent
- Event emitted when a window receives focus.
- WindowManager
- WindowManager is a singleton that manages all windows in the application.
- WindowMaximizedEvent
- Event emitted when a window is maximized.
- WindowMinimizedEvent
- Event emitted when a window is minimized.
- WindowMovedEvent
- Event emitted when a window is moved.
- WindowOptions
- Options for creating a window.
- WindowResizedEvent
- Event emitted when a window is resized.
- WindowRestoredEvent
- Event emitted when a window is restored from minimized or maximized state.
Enums
- ContextMenuTrigger
- Defines how the context menu is triggered for a tray icon.
- DisplayOrientation
- MenuItemState
- MenuItemType
- Placement
- Placement options for positioning UI elements relative to an anchor.
- PositioningStrategyType
- Type of positioning strategy.
Mixins
- EventEmitter
- Mixin that provides event emission capabilities with lifecycle management. Classes that use this mixin can easily add listener management and event dispatching functionality.
Extensions
- ContextMenuTriggerExtension on ContextMenuTrigger
- Extension methods for ContextMenuTrigger conversion
- EventEmitterExtensions on EventEmitter
- Extension methods for easier event listener registration
- MenuItemStateExtension on MenuItemState
- MenuItemTypeExtension on MenuItemType